#9987BF#9987BF
#9987BF is a light, moderate violet. Relative luminance 0.279; OKLCH L 66.0% C 0.084 H 298.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9987BF |
|---|---|
| RGB | rgb(153, 135, 191) |
| HSL | hsl(259, 30%, 64%) |
| HSV | hsv(259, 29%, 75%) |
| CMYK | cmyk(19.9%, 29.3%, 0%, 25.1%) |
| CIE-LAB | lab(59.76, 18.36, -26.71) |
| CIE-LCH | lch(59.76, 32.41, 304.49°) |
| OKLab | oklab(66.03% 0.0405 -0.0735) |
| OKLCH | oklch(66.03% 0.084 298.8) |
| XYZ | xyz(31.2028, 27.8617, 53.0141) |
| Luminance | 0.2786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.62
Heather
#A484AC
ΔE00 6.67
Pale Purple
#B790D4
ΔE00 6.72
Lavender
#B39DDB
ΔE00 7.44
Deep Lilac
#966EBD
ΔE00 8.39
Soft Purple
#A66FB5
ΔE00 9.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9987BF #ADBF87
analogous
#8791BF #9987BF #B587BF
triadic
#9987BF #BF9987 #87BF99
tetradic
#9987BF #BF8791 #ADBF87 #87BFB5
square
#9987BF #BF8791 #ADBF87 #87BFB5
split-complementary
#9987BF #BFB587 #91BF87
monochromatic
#5B4785 #775FAA #9987BF #BBAFD4 #DDD7EA
Accessibility & contrast
On white
3.20
#9987BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#9987BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9987BF
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9987BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9987BF | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#7D90BD
Tritanopia (blue-blind)
#92909B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9987bf; /* rgb */ color: rgb(153, 135, 191); /* oklch */ color: oklch(66.0% 0.084 298.8);
Tailwind
colors: {
custom: {
50: '#b8aad2',
500: '#9987bf',
950: '#000000',
},
}SCSS
$custom: #9987bf; $custom-light: #b8aad2; $custom-dark: #000000;
JSON
{
"hex": "#9987bf",
"rgb": {
"r": 153,
"g": 135,
"b": 191
},
"hsl": {
"h": 259.286,
"s": 30.435,
"l": 63.922
},
"oklch": {
"l": 0.66025,
"c": 0.08396,
"h": 298.8
},
"luminance": 0.27862
}Semantic roles & 50–950 ramp
primary
#9987BF
secondary
#D4DBC7
accent
#A93C86
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82