#987CAE#987CAE
#987CAE is a light, moderate violet. Relative luminance 0.241; OKLCH L 63.1% C 0.080 H 309.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #987CAE |
|---|---|
| RGB | rgb(152, 124, 174) |
| HSL | hsl(274, 24%, 58%) |
| HSV | hsv(274, 29%, 68%) |
| CMYK | cmyk(12.6%, 28.7%, 0%, 31.8%) |
| CIE-LAB | lab(56.23, 20.52, -22.46) |
| CIE-LCH | lch(56.23, 30.42, 312.42°) |
| OKLab | oklab(63.07% 0.051 -0.0614) |
| OKLCH | oklch(63.07% 0.08 309.7) |
| XYZ | xyz(27.7952, 24.1470, 43.2328) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 4.42
Wisteria
#A87DC2
ΔE00 5.01
Dark Lilac
#9C6DA5
ΔE00 5.49
Faded Purple
#916E99
ΔE00 5.74
Soft Purple
#A66FB5
ΔE00 6.11
Deep Lilac
#966EBD
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987CAE #92AE7C
analogous
#7F7CAE #987CAE #AE7CAB
triadic
#987CAE #AE987C #7CAE98
tetradic
#987CAE #AE7F7C #92AE7C #7CABAE
square
#987CAE #AE7F7C #92AE7C #7CABAE
split-complementary
#987CAE #ABAE7C #7CAE7F
monochromatic
#5A436D #7A5A92 #987CAE #B6A2C5 #D3C8DD
Accessibility & contrast
On white
3.60
#987CAE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#987CAE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987CAE
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987CAE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987CAE | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485B0
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#96838E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #987cae; /* rgb */ color: rgb(152, 124, 174); /* oklch */ color: oklch(63.1% 0.080 309.7);
Tailwind
colors: {
custom: {
50: '#b7a2c6',
500: '#987cae',
950: '#000000',
},
}SCSS
$custom: #987cae; $custom-light: #b7a2c6; $custom-dark: #000000;
JSON
{
"hex": "#987cae",
"rgb": {
"r": 152,
"g": 124,
"b": 174
},
"hsl": {
"h": 273.6,
"s": 23.585,
"l": 58.431
},
"oklch": {
"l": 0.63074,
"c": 0.07981,
"h": 309.7
},
"luminance": 0.24147
}Semantic roles & 50–950 ramp
primary
#987CAE
secondary
#C2CDB9
accent
#C0688F
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82