#B87EF3#B87EF3
#B87EF3 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.9% C 0.173 H 305.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B87EF3 |
|---|---|
| RGB | rgb(184, 126, 243) |
| HSL | hsl(270, 83%, 72%) |
| HSV | hsv(270, 48%, 95%) |
| CMYK | cmyk(24.3%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(63.00, 44.53, -50.51) |
| CIE-LCH | lch(63.00, 67.33, 311.40°) |
| OKLab | oklab(69.94% 0.1 -0.1415) |
| OKLCH | oklch(69.94% 0.173 305.2) |
| XYZ | xyz(43.4023, 31.5834, 88.5863) |
| Luminance | 0.3158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.09
Easter Purple
#C071FE
ΔE00 3.50
Light Urple
#B36FF6
ΔE00 3.84
Liliac
#C48EFD
ΔE00 4.34
Bright Lavender
#C760FF
ΔE00 6.65
Bright Lilac
#C95EFB
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87EF3 #B9F37E
analogous
#7E7EF3 #B87EF3 #F37EF3
triadic
#B87EF3 #F3B87E #7EF3B8
tetradic
#B87EF3 #F37E7E #B9F37E #7EF3F3
square
#B87EF3 #F37E7E #B9F37E #7EF3F3
split-complementary
#B87EF3 #F3F37E #7EF37E
monochromatic
#7A15E2 #9946EE #B87EF3 #D7B6F8 #F0E3FC
Accessibility & contrast
On white
2.87
#B87EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#B87EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87EF3
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87EF3 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D97F7
Deuteranopia (green-blind)
#6C99F0
Tritanopia (blue-blind)
#AE92AD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b87ef3; /* rgb */ color: rgb(184, 126, 243); /* oklch */ color: oklch(69.9% 0.173 305.2);
Tailwind
colors: {
custom: {
50: '#d0a5f7',
500: '#b87ef3',
950: '#000000',
},
}SCSS
$custom: #b87ef3; $custom-light: #d0a5f7; $custom-dark: #000000;
JSON
{
"hex": "#b87ef3",
"rgb": {
"r": 184,
"g": 126,
"b": 243
},
"hsl": {
"h": 269.744,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.69937,
"c": 0.17328,
"h": 305.2
},
"luminance": 0.31583
}Semantic roles & 50–950 ramp
primary
#B87EF3
secondary
#E6F4D7
accent
#DF0674
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85