#987AAB color
The hex color #987AAB is a grayish violet.
In the RGB color model it is made of 59.6% red, 47.8% green and 67.1% blue (152, 122, 171).
Its hue angle is 277°, with 23% saturation and 57% lightness. For print, the CMYK equivalent is 11% cyan, 29% magenta, 0% yellow and 33% black.
The closest named color is Lavender Purple (#967BB6), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.71:1).
#987AAB color codes
| HEX | #987AAB | |
|---|---|---|
| RGB | rgb(152, 122, 171) | |
| RGB percent | rgb(59.6%, 47.8%, 67.1%) | |
| HSL | hsl(277, 23%, 57%) | |
| HSV / HSB | hsv(277, 29%, 67%) | |
| CMYK | cmyk(11%, 29%, 0%, 33%) | |
| CIE LAB | lab(55.62, 21.02, -21.67) | |
| CIE LCH | lch(55.62, 30.2, 314.13) | |
| CIE XYZ | xyz(27.258, 23.535, 41.627) | |
| Decimal | 9992875 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #987AAB, 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 #987AAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.71:1 | Pass | Fail | Pass |
| Sample text | 3.68:1 | Fail | Fail | Pass |
| #987AAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.68:1 | Fail | Fail | Pass |
| Sample text | 5.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 #987AAB looks to people with the most common types of color vision deficiency.
#7284adProtanopia
no red cones#7986a9Deuteranopia
no green cones#96808bTritanopia
no blue cones#858585Achromatopsia
no color vision
CSS examples
.background { background-color: #987aab; }
.text { color: #987aab; }
.border { border: 2px solid #987aab; }
.transparent { background-color: rgb(152 122 171 / 50%); }
.gradient { background: linear-gradient(to right, #987aab, #ab7aa5); }
Similar colors
#967bb6Lavender Purple#a97fb1Heart Potion#ab7cb4Berries Galore#946dadCrown Jewels#867ba9Aster#9c87c1Petrified Purple#9488beMagic Carpet#a37298Drama Queen
Questions
- What color is #987AAB?
- #987AAB is a grayish violet, closest to the named color Lavender Purple. It belongs to the purple family of colors.
- What is the RGB value of #987AAB?
- The RGB value is 152, 122, 171: 152 red, 122 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #987AAB?
- The complementary color is #8DAB7A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #987AAB?
- Black text. Black text has a contrast ratio of 5.71:1 and white text 3.68:1. WCAG asks for at least 4.5:1 for normal text.