#988AB2 color
The hex color #988AB2 is a grayish violet.
In the RGB color model it is made of 59.6% red, 54.1% green and 69.8% blue (152, 138, 178).
Its hue angle is 261°, with 21% saturation and 62% lightness. For print, the CMYK equivalent is 15% cyan, 22% magenta, 0% yellow and 30% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.61:1).
#988AB2 color codes
| HEX | #988AB2 | |
|---|---|---|
| RGB | rgb(152, 138, 178) | |
| RGB percent | rgb(59.6%, 54.1%, 69.8%) | |
| HSL | hsl(261, 21%, 62%) | |
| HSV / HSB | hsv(261, 22%, 70%) | |
| CMYK | cmyk(15%, 22%, 0%, 30%) | |
| CIE LAB | lab(59.95, 13.34, -19.06) | |
| CIE LCH | lch(59.95, 23.27, 304.98) | |
| CIE XYZ | xyz(30.072, 28.067, 45.944) | |
| Decimal | 9996978 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #988AB2, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #988AB2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.61:1 | Pass | Fail | Pass |
| Sample text | 3.18:1 | Fail | Fail | Pass |
| #988AB2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.61:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #988AB2 looks to people with the most common types of color vision deficiency.
#8290b4Protanopia
no red cones#8490b1Deuteranopia
no green cones#949098Tritanopia
no blue cones#909090Achromatopsia
no color vision
CSS examples
.background { background-color: #988ab2; }
.text { color: #988ab2; }
.border { border: 2px solid #988ab2; }
.transparent { background-color: rgb(152 138 178 / 50%); }
.gradient { background: linear-gradient(to right, #988ab2, #ac8ab2); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#a893c1Enchanted Lilac#9c87c1Petrified Purple#867ba9Aster#95859cHatoba Pigeon#967bb6Lavender Purple#b090c7Fleur-De-Lis
Questions
- What color is #988AB2?
- #988AB2 is a grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #988AB2?
- The RGB value is 152, 138, 178: 152 red, 138 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #988AB2?
- The complementary color is #A4B28A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #988AB2?
- Black text. Black text has a contrast ratio of 6.61:1 and white text 3.18:1. WCAG asks for at least 4.5:1 for normal text.