#B87BF6#B87BF6
#B87BF6 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.181 H 305.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B87BF6 |
|---|---|
| RGB | rgb(184, 123, 246) |
| HSL | hsl(270, 87%, 72%) |
| HSV | hsv(270, 50%, 96%) |
| CMYK | cmyk(25.2%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(62.52, 46.83, -52.92) |
| CIE-LCH | lch(62.52, 70.67, 311.50°) |
| OKLab | oklab(69.63% 0.1043 -0.1485) |
| OKLCH | oklch(69.63% 0.181 305.1) |
| XYZ | xyz(43.4811, 31.0103, 90.8658) |
| Luminance | 0.3101 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.61
Easter Purple
#C071FE
ΔE00 2.71
Light Urple
#B36FF6
ΔE00 3.04
Liliac
#C48EFD
ΔE00 4.97
Bright Lavender
#C760FF
ΔE00 5.90
Bright Lilac
#C95EFB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87BF6 #B9F67B
analogous
#7B7CF6 #B87BF6 #F57BF6
triadic
#B87BF6 #F6B87B #7BF6B8
tetradic
#B87BF6 #F67B7C #B9F67B #7BF6F5
square
#B87BF6 #F67B7C #B9F67B #7BF6F5
split-complementary
#B87BF6 #F6F57B #7CF67B
monochromatic
#7A10E7 #9942F2 #B87BF6 #D7B4FA #F0E2FD
Accessibility & contrast
On white
2.92
#B87BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#B87BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87BF6
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87BF6 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#AE91AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b87bf6; /* rgb */ color: rgb(184, 123, 246); /* oklch */ color: oklch(69.6% 0.181 305.1);
Tailwind
colors: {
custom: {
50: '#d0a3fa',
500: '#b87bf6',
950: '#000000',
},
}SCSS
$custom: #b87bf6; $custom-light: #d0a3fa; $custom-dark: #000000;
JSON
{
"hex": "#b87bf6",
"rgb": {
"r": 184,
"g": 123,
"b": 246
},
"hsl": {
"h": 269.756,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.69629,
"c": 0.18148,
"h": 305.1
},
"luminance": 0.3101
}Semantic roles & 50–950 ramp
primary
#B87BF6
secondary
#E6F5D6
accent
#E40274
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85