#988CAF color
The hex color #988CAF is a grayish violet.
In the RGB color model it is made of 59.6% red, 54.9% green and 68.6% blue (152, 140, 175).
Its hue angle is 261°, with 18% saturation and 62% lightness. For print, the CMYK equivalent is 13% cyan, 20% magenta, 0% yellow and 31% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.71:1).
#988CAF color codes
| HEX | #988CAF | |
|---|---|---|
| RGB | rgb(152, 140, 175) | |
| RGB percent | rgb(59.6%, 54.9%, 68.6%) | |
| HSL | hsl(261, 18%, 62%) | |
| HSV / HSB | hsv(261, 20%, 69%) | |
| CMYK | cmyk(13%, 20%, 0%, 31%) | |
| CIE LAB | lab(60.36, 11.53, -16.73) | |
| CIE LCH | lch(60.36, 20.32, 304.56) | |
| CIE XYZ | xyz(30.063, 28.527, 44.472) | |
| Decimal | 9997487 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #988CAF, 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 #988CAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.71:1 | Pass | Fail | Pass |
| Sample text | 3.13:1 | Fail | Fail | Pass |
| #988CAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.13:1 | Fail | Fail | Pass |
| Sample text | 6.71: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 #988CAF looks to people with the most common types of color vision deficiency.
#8591b1Protanopia
no red cones#8791aeDeuteranopia
no green cones#949198Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #988caf; }
.text { color: #988caf; }
.border { border: 2px solid #988caf; }
.transparent { background-color: rgb(152 140 175 / 50%); }
.gradient { background: linear-gradient(to right, #988caf, #aa8caf); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#95859cHatoba Pigeon#9488beMagic Carpet#9c87c1Petrified Purple#867ba9Aster#b090b2Metal Petal#a99fcfImperial Lilac
Closest common color name: Lavender Purple.
Questions
- What color is #988CAF?
- #988CAF 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 #988CAF?
- The RGB value is 152, 140, 175: 152 red, 140 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #988CAF?
- The complementary color is #A3AF8C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #988CAF?
- Black text. Black text has a contrast ratio of 6.71:1 and white text 3.13:1. WCAG asks for at least 4.5:1 for normal text.