#987BCD#987BCD
#987BCD is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.3% C 0.123 H 299.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #987BCD |
|---|---|
| RGB | rgb(152, 123, 205) |
| HSL | hsl(261, 45%, 64%) |
| HSV | hsv(261, 40%, 80%) |
| CMYK | cmyk(25.9%, 40%, 0%, 19.6%) |
| CIE-LAB | lab(57.32, 28.33, -38.45) |
| CIE-LCH | lch(57.32, 47.76, 306.38°) |
| OKLab | oklab(64.33% 0.06 -0.1072) |
| OKLCH | oklch(64.33% 0.123 299.2) |
| XYZ | xyz(31.0488, 25.2489, 60.9835) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.69
Deep Lilac
#966EBD
ΔE00 4.73
Wisteria
#A87DC2
ΔE00 5.28
Soft Purple
#A66FB5
ΔE00 7.62
Perrywinkle
#8F8CE7
ΔE00 7.89
Light Urple
#B36FF6
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987BCD #B0CD7B
analogous
#7B87CD #987BCD #C17BCD
triadic
#987BCD #CD987B #7BCD98
tetradic
#987BCD #CD7B87 #B0CD7B #7BCDC1
square
#987BCD #CD7B87 #B0CD7B #7BCDC1
split-complementary
#987BCD #CDC17B #87CD7B
monochromatic
#593895 #754FBC #987BCD #BBA7DE #DDD4EF
Accessibility & contrast
On white
3.47
#987BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#987BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987BCD
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987BCD | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#658AD0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#8E899A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #987bcd; /* rgb */ color: rgb(152, 123, 205); /* oklch */ color: oklch(64.3% 0.123 299.2);
Tailwind
colors: {
custom: {
50: '#b8a1dc',
500: '#987bcd',
950: '#000000',
},
}SCSS
$custom: #987bcd; $custom-light: #b8a1dc; $custom-dark: #000000;
JSON
{
"hex": "#987bcd",
"rgb": {
"r": 152,
"g": 123,
"b": 205
},
"hsl": {
"h": 261.22,
"s": 45.055,
"l": 64.314
},
"oklch": {
"l": 0.64335,
"c": 0.12286,
"h": 299.2
},
"luminance": 0.25249
}Semantic roles & 50–950 ramp
primary
#987BCD
secondary
#D6E0C4
accent
#B82D87
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83