#B87CF6#B87CF6
#B87CF6 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.180 H 304.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B87CF6 |
|---|---|
| RGB | rgb(184, 124, 246) |
| HSL | hsl(270, 87%, 73%) |
| HSV | hsv(270, 50%, 96%) |
| CMYK | cmyk(25.2%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(62.73, 46.29, -52.59) |
| CIE-LCH | lch(62.73, 70.06, 311.36°) |
| OKLab | oklab(69.79% 0.103 -0.1476) |
| OKLCH | oklch(69.79% 0.18 304.9) |
| XYZ | xyz(43.6058, 31.2597, 90.9074) |
| Luminance | 0.3126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.76
Easter Purple
#C071FE
ΔE00 2.91
Light Urple
#B36FF6
ΔE00 3.28
Liliac
#C48EFD
ΔE00 4.75
Bright Lavender
#C760FF
ΔE00 6.13
Bright Lilac
#C95EFB
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87CF6 #BAF67C
analogous
#7C7DF6 #B87CF6 #F57CF6
triadic
#B87CF6 #F6B87C #7CF6B8
tetradic
#B87CF6 #F67C7D #BAF67C #7CF6F5
square
#B87CF6 #F67C7D #BAF67C #7CF6F5
split-complementary
#B87CF6 #F6F57C #7DF67C
monochromatic
#7A10E8 #9943F2 #B87CF6 #D7B5FA #EFE2FD
Accessibility & contrast
On white
2.90
#B87CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#B87CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87CF6
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87CF6 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#AE92AE
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b87cf6; /* rgb */ color: rgb(184, 124, 246); /* oklch */ color: oklch(69.8% 0.180 304.9);
Tailwind
colors: {
custom: {
50: '#d0a3fa',
500: '#b87cf6',
950: '#000000',
},
}SCSS
$custom: #b87cf6; $custom-light: #d0a3fa; $custom-dark: #000000;
JSON
{
"hex": "#b87cf6",
"rgb": {
"r": 184,
"g": 124,
"b": 246
},
"hsl": {
"h": 269.508,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.69785,
"c": 0.17994,
"h": 304.9
},
"luminance": 0.31259
}Semantic roles & 50–950 ramp
primary
#B87CF6
secondary
#E6F5D6
accent
#E40275
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85