#987DBE#987DBE
#987DBE is a light, moderate violet. Relative luminance 0.251; OKLCH L 64.0% C 0.099 H 302.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #987DBE |
|---|---|
| RGB | rgb(152, 125, 190) |
| HSL | hsl(265, 33%, 62%) |
| HSV | hsv(265, 34%, 75%) |
| CMYK | cmyk(20%, 34.2%, 0%, 25.5%) |
| CIE-LAB | lab(57.13, 23.58, -30.22) |
| CIE-LCH | lch(57.13, 38.33, 307.97°) |
| OKLab | oklab(63.98% 0.0538 -0.0835) |
| OKLCH | oklch(63.98% 0.099 302.8) |
| XYZ | xyz(29.5748, 25.0604, 51.9843) |
| Luminance | 0.2506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.75
Deep Lilac
#966EBD
ΔE00 4.95
Soft Purple
#A66FB5
ΔE00 6.32
Dark Lilac
#9C6DA5
ΔE00 7.42
Heather
#A484AC
ΔE00 7.49
Pale Purple
#B790D4
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987DBE #A3BE7D
analogous
#7D83BE #987DBE #B97DBE
triadic
#987DBE #BE987D #7DBE98
tetradic
#987DBE #BE7D83 #A3BE7D #7DBEB9
square
#987DBE #BE7D83 #A3BE7D #7DBEB9
split-complementary
#987DBE #BEB97D #83BE7D
monochromatic
#5B4080 #7855A9 #987DBE #B8A6D2 #D9CFE7
Accessibility & contrast
On white
3.49
#987DBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#987DBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987DBE
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987DBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987DBE | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#928795
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #987dbe; /* rgb */ color: rgb(152, 125, 190); /* oklch */ color: oklch(64.0% 0.099 302.8);
Tailwind
colors: {
custom: {
50: '#b7a3d2',
500: '#987dbe',
950: '#000000',
},
}SCSS
$custom: #987dbe; $custom-light: #b7a3d2; $custom-dark: #000000;
JSON
{
"hex": "#987dbe",
"rgb": {
"r": 152,
"g": 125,
"b": 190
},
"hsl": {
"h": 264.923,
"s": 33.333,
"l": 61.765
},
"oklch": {
"l": 0.63976,
"c": 0.09935,
"h": 302.8
},
"luminance": 0.2506
}Semantic roles & 50–950 ramp
primary
#987DBE
secondary
#CDD7BF
accent
#AC397C
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F14
muted
#807F82