#B87EF7#B87EF7
#B87EF7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.178 H 304.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B87EF7 |
|---|---|
| RGB | rgb(184, 126, 247) |
| HSL | hsl(269, 88%, 73%) |
| HSV | hsv(269, 49%, 97%) |
| CMYK | cmyk(25.5%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(63.20, 45.45, -52.39) |
| CIE-LCH | lch(63.20, 69.36, 310.94°) |
| OKLab | oklab(70.15% 0.1004 -0.147) |
| OKLCH | oklch(70.15% 0.178 304.3) |
| XYZ | xyz(44.0129, 31.8276, 91.8023) |
| Luminance | 0.3183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.15
Easter Purple
#C071FE
ΔE00 3.31
Light Urple
#B36FF6
ΔE00 3.73
Liliac
#C48EFD
ΔE00 4.32
Bright Lavender
#C760FF
ΔE00 6.57
Bright Lilac
#C95EFB
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B87EF7 #BDF77E
analogous
#7E80F7 #B87EF7 #F47EF7
triadic
#B87EF7 #F7B87E #7EF7B8
tetradic
#B87EF7 #F77E80 #BDF77E #7EF7F4
square
#B87EF7 #F77E80 #BDF77E #7EF7F4
split-complementary
#B87EF7 #F7F47E #80F77E
monochromatic
#790FEC #9844F3 #B87EF7 #D8B8FB #EFE2FD
Accessibility & contrast
On white
2.85
#B87EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#B87EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B87EF7
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B87EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B87EF7 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#AD93AF
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b87ef7; /* rgb */ color: rgb(184, 126, 247); /* oklch */ color: oklch(70.2% 0.178 304.3);
Tailwind
colors: {
custom: {
50: '#d0a5fa',
500: '#b87ef7',
950: '#000000',
},
}SCSS
$custom: #b87ef7; $custom-light: #d0a5fa; $custom-dark: #000000;
JSON
{
"hex": "#b87ef7",
"rgb": {
"r": 184,
"g": 126,
"b": 247
},
"hsl": {
"h": 268.76,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.70154,
"c": 0.17802,
"h": 304.3
},
"luminance": 0.31827
}Semantic roles & 50–950 ramp
primary
#B87EF7
secondary
#E6F5D6
accent
#E50177
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85