#987FBF#987FBF
#987FBF is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.4% C 0.097 H 301.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #987FBF |
|---|---|
| RGB | rgb(152, 127, 191) |
| HSL | hsl(263, 33%, 62%) |
| HSV | hsv(263, 34%, 75%) |
| CMYK | cmyk(20.4%, 33.5%, 0%, 25.1%) |
| CIE-LAB | lab(57.67, 22.66, -29.96) |
| CIE-LCH | lch(57.67, 37.56, 307.10°) |
| OKLab | oklab(64.4% 0.0511 -0.0828) |
| OKLCH | oklch(64.4% 0.097 301.7) |
| XYZ | xyz(29.9402, 25.6157, 52.6471) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.00
Deep Lilac
#966EBD
ΔE00 5.58
Soft Purple
#A66FB5
ΔE00 6.91
Pale Purple
#B790D4
ΔE00 7.38
Heather
#A484AC
ΔE00 7.40
Dark Lilac
#9C6DA5
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987FBF #A6BF7F
analogous
#7F86BF #987FBF #B87FBF
triadic
#987FBF #BF987F #7FBF98
tetradic
#987FBF #BF7F86 #A6BF7F #7FBFB8
square
#987FBF #BF7F86 #A6BF7F #7FBFB8
split-complementary
#987FBF #BFB87F #86BF7F
monochromatic
#5B4182 #7756AB #987FBF #B9A8D3 #DAD1E8
Accessibility & contrast
On white
3.43
#987FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#987FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987FBF
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987FBF | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#718AC2
Deuteranopia (green-blind)
#758ABD
Tritanopia (blue-blind)
#918996
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #987fbf; /* rgb */ color: rgb(152, 127, 191); /* oklch */ color: oklch(64.4% 0.097 301.7);
Tailwind
colors: {
custom: {
50: '#b7a4d2',
500: '#987fbf',
950: '#000000',
},
}SCSS
$custom: #987fbf; $custom-light: #b7a4d2; $custom-dark: #000000;
JSON
{
"hex": "#987fbf",
"rgb": {
"r": 152,
"g": 127,
"b": 191
},
"hsl": {
"h": 263.438,
"s": 33.333,
"l": 62.353
},
"oklch": {
"l": 0.644,
"c": 0.09729,
"h": 301.7
},
"luminance": 0.25616
}Semantic roles & 50–950 ramp
primary
#987FBF
secondary
#CFD9C1
accent
#AC397F
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82