#987BB5#987BB5
#987BB5 is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.2% C 0.091 H 306.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #987BB5 |
|---|---|
| RGB | rgb(152, 123, 181) |
| HSL | hsl(270, 28%, 60%) |
| HSV | hsv(270, 32%, 71%) |
| CMYK | cmyk(16%, 32%, 0%, 29%) |
| CIE-LAB | lab(56.27, 22.67, -26.43) |
| CIE-LCH | lch(56.27, 34.81, 310.62°) |
| OKLab | oklab(63.19% 0.0544 -0.0727) |
| OKLCH | oklch(63.19% 0.091 306.8) |
| XYZ | xyz(28.3708, 24.1777, 46.8793) |
| Luminance | 0.2418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.88
Deep Lilac
#966EBD
ΔE00 5.25
Soft Purple
#A66FB5
ΔE00 5.45
Dark Lilac
#9C6DA5
ΔE00 5.76
Heather
#A484AC
ΔE00 6.01
Faded Purple
#916E99
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987BB5 #98B57B
analogous
#7B7BB5 #987BB5 #B57BB5
triadic
#987BB5 #B5987B #7BB598
tetradic
#987BB5 #B57B7B #98B57B #7BB5B5
square
#987BB5 #B57B7B #98B57B #7BB5B5
split-complementary
#987BB5 #B5B57B #7BB57B
monochromatic
#5B4174 #79579C #987BB5 #B7A2CB #D5C9E1
Accessibility & contrast
On white
3.60
#987BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#987BB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987BB5
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987BB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987BB5 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7086B7
Deuteranopia (green-blind)
#7687B3
Tritanopia (blue-blind)
#948390
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #987bb5; /* rgb */ color: rgb(152, 123, 181); /* oklch */ color: oklch(63.2% 0.091 306.8);
Tailwind
colors: {
custom: {
50: '#b7a1cb',
500: '#987bb5',
950: '#000000',
},
}SCSS
$custom: #987bb5; $custom-light: #b7a1cb; $custom-dark: #000000;
JSON
{
"hex": "#987bb5",
"rgb": {
"r": 152,
"g": 123,
"b": 181
},
"hsl": {
"h": 270,
"s": 28.155,
"l": 59.608
},
"oklch": {
"l": 0.63189,
"c": 0.09081,
"h": 306.8
},
"luminance": 0.24178
}Semantic roles & 50–950 ramp
primary
#987BB5
secondary
#C6D1BB
accent
#C46394
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82