#BB87F9#BB87F9
#BB87F9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.0% C 0.167 H 303.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BB87F9 |
|---|---|
| RGB | rgb(187, 135, 249) |
| HSL | hsl(267, 90%, 75%) |
| HSV | hsv(267, 46%, 98%) |
| CMYK | cmyk(24.9%, 45.8%, 0%, 2.4%) |
| CIE-LAB | lab(65.54, 41.82, -49.76) |
| CIE-LCH | lch(65.54, 65.00, 310.04°) |
| OKLab | oklab(72% 0.0923 -0.1393) |
| OKLCH | oklch(72% 0.167 303.5) |
| XYZ | xyz(46.2527, 34.7324, 93.8715) |
| Luminance | 0.3473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.24
Light Purple
#BF77F6
ΔE00 3.99
Easter Purple
#C071FE
ΔE00 5.27
Baby Purple
#CA9BF7
ΔE00 5.85
Light Urple
#B36FF6
ΔE00 5.99
Pastel Purple
#CAA0FF
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB87F9 #C5F987
analogous
#878CF9 #BB87F9 #F487F9
triadic
#BB87F9 #F9BB87 #87F9BB
tetradic
#BB87F9 #F9878C #C5F987 #87F9F4
square
#BB87F9 #F9878C #C5F987 #87F9F4
split-complementary
#BB87F9 #F9F487 #8CF987
monochromatic
#7912F3 #9A4DF6 #BB87F9 #DCC1FC #EEE2FE
Accessibility & contrast
On white
2.64
#BB87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#BB87F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB87F9
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB87F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB87F9 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#B09BB4
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #bb87f9; /* rgb */ color: rgb(187, 135, 249); /* oklch */ color: oklch(72.0% 0.167 303.5);
Tailwind
colors: {
custom: {
50: '#d2abfc',
500: '#bb87f9',
950: '#000000',
},
}SCSS
$custom: #bb87f9; $custom-light: #d2abfc; $custom-dark: #000000;
JSON
{
"hex": "#bb87f9",
"rgb": {
"r": 187,
"g": 135,
"b": 249
},
"hsl": {
"h": 267.368,
"s": 90.476,
"l": 75.294
},
"oklch": {
"l": 0.72002,
"c": 0.16711,
"h": 303.5
},
"luminance": 0.34732
}Semantic roles & 50–950 ramp
primary
#BB87F9
secondary
#E7F6D5
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85