#B873EB#B873EB
#B873EB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.181 H 308.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B873EB |
|---|---|
| RGB | rgb(184, 115, 235) |
| HSL | hsl(275, 75%, 69%) |
| HSV | hsv(275, 51%, 92%) |
| CMYK | cmyk(21.7%, 51.1%, 0%, 7.8%) |
| CIE-LAB | lab(60.29, 48.60, -50.36) |
| CIE-LCH | lch(60.29, 69.99, 313.98°) |
| OKLab | oklab(67.8% 0.1138 -0.141) |
| OKLCH | oklch(67.8% 0.181 308.9) |
| XYZ | xyz(40.8904, 28.4506, 81.9186) |
| Luminance | 0.2845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.03
Light Urple
#B36FF6
ΔE00 2.45
Easter Purple
#C071FE
ΔE00 2.81
Bright Lavender
#C760FF
ΔE00 4.74
Bright Lilac
#C95EFB
ΔE00 4.90
Liliac
#C48EFD
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B873EB #A6EB73
analogous
#7C73EB #B873EB #EB73E2
triadic
#B873EB #EBB873 #73EBB8
tetradic
#B873EB #EB7C73 #A6EB73 #73E2EB
square
#B873EB #EB7C73 #A6EB73 #73E2EB
split-complementary
#B873EB #E2EB73 #73EB7C
monochromatic
#7F1CC7 #9D3DE3 #B873EB #D3A9F3 #EEDEFA
Accessibility & contrast
On white
3.14
#B873EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#B873EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B873EB
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B873EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B873EB | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#B188A4
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b873eb; /* rgb */ color: rgb(184, 115, 235); /* oklch */ color: oklch(67.8% 0.181 308.9);
Tailwind
colors: {
custom: {
50: '#d09df2',
500: '#b873eb',
950: '#000000',
},
}SCSS
$custom: #b873eb; $custom-light: #d09df2; $custom-dark: #000000;
JSON
{
"hex": "#b873eb",
"rgb": {
"r": 184,
"g": 115,
"b": 235
},
"hsl": {
"h": 274.5,
"s": 75,
"l": 68.627
},
"oklch": {
"l": 0.67797,
"c": 0.18122,
"h": 308.9
},
"luminance": 0.2845
}Semantic roles & 50–950 ramp
primary
#B873EB
secondary
#DAEFCB
accent
#D70E64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85