#B87EF9#B87EF9
#B87EF9 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.3% C 0.180 H 303.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B87EF9 |
|---|---|
| RGB | rgb(184, 126, 249) |
| HSL | hsl(268, 91%, 74%) |
| HSV | hsv(268, 49%, 98%) |
| CMYK | cmyk(26.1%, 49.4%, 0%, 2.4%) |
| CIE-LAB | lab(63.30, 45.91, -53.33) |
| CIE-LCH | lch(63.30, 70.37, 310.73°) |
| OKLab | oklab(70.26% 0.1006 -0.1497) |
| OKLCH | oklch(70.26% 0.18 303.9) |
| XYZ | xyz(44.3232, 31.9517, 93.4364) |
| Luminance | 0.3195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.25
Easter Purple
#C071FE
ΔE00 3.26
Light Urple
#B36FF6
ΔE00 3.72
Liliac
#C48EFD
ΔE00 4.34
Bright Lavender
#C760FF
ΔE00 6.55
Bright Lilac
#C95EFB
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87EF9 #BFF97E
analogous
#7E81F9 #B87EF9 #F67EF9
triadic
#B87EF9 #F9B87E #7EF9B8
tetradic
#B87EF9 #F97E81 #BFF97E #7EF9F6
square
#B87EF9 #F97E81 #BFF97E #7EF9F6
split-complementary
#B87EF9 #F9F67E #81F97E
monochromatic
#780BF1 #9844F6 #B87EF9 #D8B8FC #EFE2FE
Accessibility & contrast
On white
2.84
#B87EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#B87EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87EF9
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87EF9 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#AD94B0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b87ef9; /* rgb */ color: rgb(184, 126, 249); /* oklch */ color: oklch(70.3% 0.180 303.9);
Tailwind
colors: {
custom: {
50: '#d0a5fc',
500: '#b87ef9',
950: '#000000',
},
}SCSS
$custom: #b87ef9; $custom-light: #d0a5fc; $custom-dark: #000000;
JSON
{
"hex": "#b87ef9",
"rgb": {
"r": 184,
"g": 126,
"b": 249
},
"hsl": {
"h": 268.293,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.70264,
"c": 0.18039,
"h": 303.9
},
"luminance": 0.31952
}Semantic roles & 50–950 ramp
primary
#B87EF9
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85