#9987AF color
The hex color #9987AF is a grayish violet.
In the RGB color model it is made of 60% red, 52.9% green and 68.6% blue (153, 135, 175).
Its hue angle is 267°, with 20% saturation and 61% lightness. For print, the CMYK equivalent is 13% cyan, 23% magenta, 0% yellow and 31% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.44:1).
#9987AF color codes
| HEX | #9987AF | |
|---|---|---|
| RGB | rgb(153, 135, 175) | |
| RGB percent | rgb(60%, 52.9%, 68.6%) | |
| HSL | hsl(267, 20%, 61%) | |
| HSV / HSB | hsv(267, 23%, 69%) | |
| CMYK | cmyk(13%, 23%, 0%, 31%) | |
| CIE LAB | lab(59.15, 14.73, -18.56) | |
| CIE LCH | lch(59.15, 23.69, 308.44) | |
| CIE XYZ | xyz(29.537, 27.195, 44.242) | |
| Decimal | 10061743 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9987AF, 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 #9987AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.44:1 | Pass | Fail | Pass |
| Sample text | 3.26:1 | Fail | Fail | Pass |
| #9987AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.26:1 | Fail | Fail | Pass |
| Sample text | 6.44: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 #9987AF looks to people with the most common types of color vision deficiency.
#808eb1Protanopia
no red cones#838eaeDeuteranopia
no green cones#968c95Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #9987af; }
.text { color: #9987af; }
.border { border: 2px solid #9987af; }
.transparent { background-color: rgb(153 135 175 / 50%); }
.gradient { background: linear-gradient(to right, #9987af, #ad87af); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#9488beMagic Carpet#9c87c1Petrified Purple#867ba9Aster#95859cHatoba Pigeon#967bb6Lavender Purple#a97fb1Heart Potion
Questions
- What color is #9987AF?
- #9987AF 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 #9987AF?
- The RGB value is 153, 135, 175: 153 red, 135 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #9987AF?
- The complementary color is #9DAF87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9987AF?
- Black text. Black text has a contrast ratio of 6.44:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.