#B87DF6#B87DF6
#B87DF6 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.178 H 304.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B87DF6 |
|---|---|
| RGB | rgb(184, 125, 246) |
| HSL | hsl(269, 87%, 73%) |
| HSV | hsv(269, 49%, 96%) |
| CMYK | cmyk(25.2%, 49.2%, 0%, 3.5%) |
| CIE-LAB | lab(62.94, 45.76, -52.26) |
| CIE-LCH | lch(62.94, 69.46, 311.21°) |
| OKLab | oklab(69.94% 0.1016 -0.1466) |
| OKLCH | oklch(69.94% 0.178 304.7) |
| XYZ | xyz(43.7318, 31.5116, 90.9494) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.93
Easter Purple
#C071FE
ΔE00 3.12
Light Urple
#B36FF6
ΔE00 3.51
Liliac
#C48EFD
ΔE00 4.53
Bright Lavender
#C760FF
ΔE00 6.36
Bright Lilac
#C95EFB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87DF6 #BBF67D
analogous
#7D7FF6 #B87DF6 #F47DF6
triadic
#B87DF6 #F6B87D #7DF6B8
tetradic
#B87DF6 #F67D7F #BBF67D #7DF6F4
square
#B87DF6 #F67D7F #BBF67D #7DF6F4
split-complementary
#B87DF6 #F6F47D #7FF67D
monochromatic
#7A10E9 #9944F2 #B87DF6 #D7B6FA #EFE2FD
Accessibility & contrast
On white
2.88
#B87DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#B87DF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87DF6
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87DF6 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#AE92AE
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b87df6; /* rgb */ color: rgb(184, 125, 246); /* oklch */ color: oklch(69.9% 0.178 304.7);
Tailwind
colors: {
custom: {
50: '#d0a4fa',
500: '#b87df6',
950: '#000000',
},
}SCSS
$custom: #b87df6; $custom-light: #d0a4fa; $custom-dark: #000000;
JSON
{
"hex": "#b87df6",
"rgb": {
"r": 184,
"g": 125,
"b": 246
},
"hsl": {
"h": 269.256,
"s": 87.05,
"l": 72.745
},
"oklch": {
"l": 0.69942,
"c": 0.17838,
"h": 304.7
},
"luminance": 0.31511
}Semantic roles & 50–950 ramp
primary
#B87DF6
secondary
#E6F5D6
accent
#E40276
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85