#987BAE#987BAE
#987BAE is a light, moderate violet. Relative luminance 0.239; OKLCH L 62.9% C 0.082 H 310.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #987BAE |
|---|---|
| RGB | rgb(152, 123, 174) |
| HSL | hsl(274, 24%, 58%) |
| HSV | hsv(274, 29%, 68%) |
| CMYK | cmyk(12.6%, 29.3%, 0%, 31.8%) |
| CIE-LAB | lab(55.99, 21.10, -22.84) |
| CIE-LCH | lch(55.99, 31.10, 312.74°) |
| OKLab | oklab(62.88% 0.0525 -0.0625) |
| OKLCH | oklch(62.88% 0.082 310) |
| XYZ | xyz(27.6705, 23.8976, 43.1912) |
| Luminance | 0.2390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 4.66
Wisteria
#A87DC2
ΔE00 4.88
Dark Lilac
#9C6DA5
ΔE00 5.16
Faded Purple
#916E99
ΔE00 5.56
Soft Purple
#A66FB5
ΔE00 5.78
Deep Lilac
#966EBD
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987BAE #91AE7B
analogous
#7E7BAE #987BAE #AE7BAA
triadic
#987BAE #AE987B #7BAE98
tetradic
#987BAE #AE7E7B #91AE7B #7BAAAE
square
#987BAE #AE7E7B #91AE7B #7BAAAE
split-complementary
#987BAE #AAAE7B #7BAE7E
monochromatic
#5A426C #7A5A92 #987BAE #B6A1C5 #D3C7DD
Accessibility & contrast
On white
3.63
#987BAE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#987BAE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987BAE
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987BAE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987BAE | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7285B0
Deuteranopia (green-blind)
#7887AC
Tritanopia (blue-blind)
#96828D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #987bae; /* rgb */ color: rgb(152, 123, 174); /* oklch */ color: oklch(62.9% 0.082 310.0);
Tailwind
colors: {
custom: {
50: '#b7a1c6',
500: '#987bae',
950: '#000000',
},
}SCSS
$custom: #987bae; $custom-light: #b7a1c6; $custom-dark: #000000;
JSON
{
"hex": "#987bae",
"rgb": {
"r": 152,
"g": 123,
"b": 174
},
"hsl": {
"h": 274.118,
"s": 23.944,
"l": 58.235
},
"oklch": {
"l": 0.62883,
"c": 0.08162,
"h": 310
},
"luminance": 0.23897
}Semantic roles & 50–950 ramp
primary
#987BAE
secondary
#C1CDB8
accent
#C0678E
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82