#987ABE#987ABE
#987ABE is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.4% C 0.104 H 303.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #987ABE |
|---|---|
| RGB | rgb(152, 122, 190) |
| HSL | hsl(266, 34%, 61%) |
| HSV | hsv(266, 36%, 75%) |
| CMYK | cmyk(20%, 35.8%, 0%, 25.5%) |
| CIE-LAB | lab(56.40, 25.32, -31.36) |
| CIE-LCH | lch(56.40, 40.31, 308.91°) |
| OKLab | oklab(63.42% 0.0582 -0.0868) |
| OKLCH | oklch(63.42% 0.105 303.8) |
| XYZ | xyz(29.2008, 24.3122, 51.8596) |
| Luminance | 0.2431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.65
Deep Lilac
#966EBD
ΔE00 3.92
Soft Purple
#A66FB5
ΔE00 5.62
Dark Lilac
#9C6DA5
ΔE00 6.90
Mediumpurple
#9370DB
ΔE00 7.19
Heather
#A484AC
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987ABE #A0BE7A
analogous
#7A7EBE #987ABE #BA7ABE
triadic
#987ABE #BE987A #7ABE98
tetradic
#987ABE #BE7A7E #A0BE7A #7ABEBA
square
#987ABE #BE7A7E #A0BE7A #7ABEBA
split-complementary
#987ABE #BEBA7A #7EBE7A
monochromatic
#5B3E7F #7852A8 #987ABE #B8A3D2 #D8CCE6
Accessibility & contrast
On white
3.58
#987ABE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#987ABE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987ABE
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987ABE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987ABE | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B86C1
Deuteranopia (green-blind)
#7187BC
Tritanopia (blue-blind)
#928493
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #987abe; /* rgb */ color: rgb(152, 122, 190); /* oklch */ color: oklch(63.4% 0.104 303.8);
Tailwind
colors: {
custom: {
50: '#b7a0d2',
500: '#987abe',
950: '#000000',
},
}SCSS
$custom: #987abe; $custom-light: #b7a0d2; $custom-dark: #000000;
JSON
{
"hex": "#987abe",
"rgb": {
"r": 152,
"g": 122,
"b": 190
},
"hsl": {
"h": 266.471,
"s": 34.343,
"l": 61.176
},
"oklch": {
"l": 0.63416,
"c": 0.1045,
"h": 303.8
},
"luminance": 0.24312
}Semantic roles & 50–950 ramp
primary
#987ABE
secondary
#CBD7BD
accent
#AD387A
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82