#B87BFC#B87BFC
#B87BFC is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.189 H 303.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B87BFC |
|---|---|
| RGB | rgb(184, 123, 252) |
| HSL | hsl(268, 96%, 74%) |
| HSV | hsv(268, 51%, 99%) |
| CMYK | cmyk(27%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(62.83, 48.22, -55.73) |
| CIE-LCH | lch(62.83, 73.69, 310.87°) |
| OKLab | oklab(69.97% 0.1047 -0.1567) |
| OKLCH | oklch(69.97% 0.189 303.8) |
| XYZ | xyz(44.4170, 31.3847, 95.7944) |
| Luminance | 0.3139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.05
Easter Purple
#C071FE
ΔE00 2.59
Light Urple
#B36FF6
ΔE00 3.07
Liliac
#C48EFD
ΔE00 5.05
Bright Lavender
#C760FF
ΔE00 5.88
Bright Lilac
#C95EFB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87BFC #BFFC7B
analogous
#7B7EFC #B87BFC #F87BFC
triadic
#B87BFC #FCB87B #7BFCB8
tetradic
#B87BFC #FC7B7E #BFFC7B #7BFCF8
square
#B87BFC #FC7B7E #BFFC7B #7BFCF8
split-complementary
#B87BFC #FCF87B #7EFC7B
monochromatic
#7806F7 #983FFB #B87BFC #D8B7FD #EFE1FE
Accessibility & contrast
On white
2.89
#B87BFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B87BFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87BFC
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87BFC | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#AC93B0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b87bfc; /* rgb */ color: rgb(184, 123, 252); /* oklch */ color: oklch(70.0% 0.189 303.8);
Tailwind
colors: {
custom: {
50: '#d0a3fe',
500: '#b87bfc',
950: '#000000',
},
}SCSS
$custom: #b87bfc; $custom-light: #d0a3fe; $custom-dark: #000000;
JSON
{
"hex": "#b87bfc",
"rgb": {
"r": 184,
"g": 123,
"b": 252
},
"hsl": {
"h": 268.372,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.69965,
"c": 0.18851,
"h": 303.8
},
"luminance": 0.31385
}Semantic roles & 50–950 ramp
primary
#B87BFC
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86