#B87EF2#B87EF2
#B87EF2 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.172 H 305.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B87EF2 |
|---|---|
| RGB | rgb(184, 126, 242) |
| HSL | hsl(270, 82%, 72%) |
| HSV | hsv(270, 48%, 95%) |
| CMYK | cmyk(24%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(62.95, 44.30, -50.04) |
| CIE-LCH | lch(62.95, 66.83, 311.52°) |
| OKLab | oklab(69.88% 0.0999 -0.1401) |
| OKLCH | oklch(69.88% 0.172 305.5) |
| XYZ | xyz(43.2517, 31.5231, 87.7932) |
| Luminance | 0.3152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.11
Easter Purple
#C071FE
ΔE00 3.56
Light Urple
#B36FF6
ΔE00 3.89
Liliac
#C48EFD
ΔE00 4.36
Bright Lavender
#C760FF
ΔE00 6.68
Bright Lilac
#C95EFB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87EF2 #B8F27E
analogous
#7E7EF2 #B87EF2 #F27EF2
triadic
#B87EF2 #F2B87E #7EF2B8
tetradic
#B87EF2 #F27E7E #B8F27E #7EF2F2
square
#B87EF2 #F27E7E #B8F27E #7EF2F2
split-complementary
#B87EF2 #F2F27E #7EF27E
monochromatic
#7B16DF #9946EC #B87EF2 #D7B6F8 #F0E3FC
Accessibility & contrast
On white
2.87
#B87EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#B87EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87EF2
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87EF2 | 1.00 | 2.87 | 7.30 | 7.30 |
| #FFFFFF | 2.87 | 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)
#5E96F6
Deuteranopia (green-blind)
#6D99EF
Tritanopia (blue-blind)
#AF92AD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b87ef2; /* rgb */ color: rgb(184, 126, 242); /* oklch */ color: oklch(69.9% 0.172 305.5);
Tailwind
colors: {
custom: {
50: '#d0a5f7',
500: '#b87ef2',
950: '#000000',
},
}SCSS
$custom: #b87ef2; $custom-light: #d0a5f7; $custom-dark: #000000;
JSON
{
"hex": "#b87ef2",
"rgb": {
"r": 184,
"g": 126,
"b": 242
},
"hsl": {
"h": 270,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.69883,
"c": 0.17209,
"h": 305.5
},
"luminance": 0.31523
}Semantic roles & 50–950 ramp
primary
#B87EF2
secondary
#E6F4D7
accent
#DE0773
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85