#B87CF8#B87CF8
#B87CF8 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.182 H 304.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B87CF8 |
|---|---|
| RGB | rgb(184, 124, 248) |
| HSL | hsl(269, 90%, 73%) |
| HSV | hsv(269, 50%, 97%) |
| CMYK | cmyk(25.8%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(62.83, 46.76, -53.53) |
| CIE-LCH | lch(62.83, 71.07, 311.14°) |
| OKLab | oklab(69.9% 0.1031 -0.1503) |
| OKLCH | oklch(69.9% 0.182 304.5) |
| XYZ | xyz(43.9144, 31.3831, 92.5328) |
| Luminance | 0.3138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.86
Easter Purple
#C071FE
ΔE00 2.84
Light Urple
#B36FF6
ΔE00 3.25
Liliac
#C48EFD
ΔE00 4.76
Bright Lavender
#C760FF
ΔE00 6.10
Bright Lilac
#C95EFB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87CF8 #BCF87C
analogous
#7C7EF8 #B87CF8 #F67CF8
triadic
#B87CF8 #F8B87C #7CF8B8
tetradic
#B87CF8 #F87C7E #BCF87C #7CF8F6
square
#B87CF8 #F87C7E #BCF87C #7CF8F6
split-complementary
#B87CF8 #F8F67C #7EF87C
monochromatic
#790DED #9942F5 #B87CF8 #D7B6FB #EFE2FD
Accessibility & contrast
On white
2.89
#B87CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B87CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87CF8
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87CF8 | 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)
#5696FC
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#AD92AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b87cf8; /* rgb */ color: rgb(184, 124, 248); /* oklch */ color: oklch(69.9% 0.182 304.5);
Tailwind
colors: {
custom: {
50: '#d0a3fb',
500: '#b87cf8',
950: '#000000',
},
}SCSS
$custom: #b87cf8; $custom-light: #d0a3fb; $custom-dark: #000000;
JSON
{
"hex": "#b87cf8",
"rgb": {
"r": 184,
"g": 124,
"b": 248
},
"hsl": {
"h": 269.032,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.69895,
"c": 0.18229,
"h": 304.5
},
"luminance": 0.31383
}Semantic roles & 50–950 ramp
primary
#B87CF8
secondary
#E6F6D5
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85