#B87DFC#B87DFC
#B87DFC is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.185 H 303.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B87DFC |
|---|---|
| RGB | rgb(184, 125, 252) |
| HSL | hsl(268, 95%, 74%) |
| HSV | hsv(268, 50%, 99%) |
| CMYK | cmyk(27%, 50.4%, 0%, 1.2%) |
| CIE-LAB | lab(63.25, 47.15, -55.06) |
| CIE-LCH | lch(63.25, 72.49, 310.57°) |
| OKLab | oklab(70.27% 0.1022 -0.1548) |
| OKLCH | oklch(70.27% 0.185 303.4) |
| XYZ | xyz(44.6676, 31.8859, 95.8780) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.31
Easter Purple
#C071FE
ΔE00 3.02
Light Urple
#B36FF6
ΔE00 3.52
Liliac
#C48EFD
ΔE00 4.63
Bright Lavender
#C760FF
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87DFC #C1FC7D
analogous
#7D82FC #B87DFC #F87DFC
triadic
#B87DFC #FCB87D #7DFCB8
tetradic
#B87DFC #FC7D82 #C1FC7D #7DFCF8
square
#B87DFC #FC7D82 #C1FC7D #7DFCF8
split-complementary
#B87DFC #FCF87D #82FC7D
monochromatic
#7706F9 #9741FB #B87DFC #D9B9FD #EFE1FE
Accessibility & contrast
On white
2.85
#B87DFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#B87DFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87DFC
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87DFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87DFC | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#AC94B1
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b87dfc; /* rgb */ color: rgb(184, 125, 252); /* oklch */ color: oklch(70.3% 0.185 303.4);
Tailwind
colors: {
custom: {
50: '#d0a4fe',
500: '#b87dfc',
950: '#000000',
},
}SCSS
$custom: #b87dfc; $custom-light: #d0a4fe; $custom-dark: #000000;
JSON
{
"hex": "#b87dfc",
"rgb": {
"r": 184,
"g": 125,
"b": 252
},
"hsl": {
"h": 267.874,
"s": 95.489,
"l": 73.922
},
"oklch": {
"l": 0.70274,
"c": 0.18547,
"h": 303.4
},
"luminance": 0.31886
}Semantic roles & 50–950 ramp
primary
#B87DFC
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86