#988DAB color
The hex color #988DAB is a grayish violet.
In the RGB color model it is made of 59.6% red, 55.3% green and 67.1% blue (152, 141, 171).
Its hue angle is 262°, with 15% saturation and 61% lightness. For print, the CMYK equivalent is 11% cyan, 18% magenta, 0% yellow and 33% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.73:1).
#988DAB color codes
| HEX | #988DAB | |
|---|---|---|
| RGB | rgb(152, 141, 171) | |
| RGB percent | rgb(59.6%, 55.3%, 67.1%) | |
| HSL | hsl(262, 15%, 61%) | |
| HSV / HSB | hsv(262, 18%, 67%) | |
| CMYK | cmyk(11%, 18%, 0%, 33%) | |
| CIE LAB | lab(60.49, 10.08, -14.27) | |
| CIE LCH | lch(60.49, 17.48, 305.24) | |
| CIE XYZ | xyz(29.823, 28.665, 42.482) | |
| Decimal | 9997739 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #988DAB, 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 #988DAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.73:1 | Pass | Fail | Pass |
| Sample text | 3.12:1 | Fail | Fail | Pass |
| #988DAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.12:1 | Fail | Fail | Pass |
| Sample text | 6.73: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 #988DAB looks to people with the most common types of color vision deficiency.
#8892acProtanopia
no red cones#8992aaDeuteranopia
no green cones#959197Tritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #988dab; }
.text { color: #988dab; }
.border { border: 2px solid #988dab; }
.transparent { background-color: rgb(152 141 171 / 50%); }
.gradient { background: linear-gradient(to right, #988dab, #a78dab); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#a893c1Enchanted Lilac#948593Femme Fatale#b090b2Metal Petal#967d96Amorous#8c92acCool Gray#b39eb5Pastel Purple
Questions
- What color is #988DAB?
- #988DAB 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 #988DAB?
- The RGB value is 152, 141, 171: 152 red, 141 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #988DAB?
- The complementary color is #A0AB8D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #988DAB?
- Black text. Black text has a contrast ratio of 6.73:1 and white text 3.12:1. WCAG asks for at least 4.5:1 for normal text.