#B873EA#B873EA
#B873EA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.180 H 309.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B873EA |
|---|---|
| RGB | rgb(184, 115, 234) |
| HSL | hsl(275, 74%, 68%) |
| HSV | hsv(275, 51%, 92%) |
| CMYK | cmyk(21.4%, 50.9%, 0%, 8.2%) |
| CIE-LAB | lab(60.24, 48.38, -49.89) |
| CIE-LCH | lch(60.24, 69.49, 314.12°) |
| OKLab | oklab(67.74% 0.1137 -0.1397) |
| OKLCH | oklch(67.74% 0.18 309.1) |
| XYZ | xyz(40.7463, 28.3929, 81.1598) |
| Luminance | 0.2839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.14
Light Urple
#B36FF6
ΔE00 2.59
Easter Purple
#C071FE
ΔE00 2.95
Bright Lavender
#C760FF
ΔE00 4.81
Bright Lilac
#C95EFB
ΔE00 4.95
Liliac
#C48EFD
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B873EA #A5EA73
analogous
#7C73EA #B873EA #EA73E0
triadic
#B873EA #EAB873 #73EAB8
tetradic
#B873EA #EA7C73 #A5EA73 #73E0EA
square
#B873EA #EA7C73 #A5EA73 #73E0EA
split-complementary
#B873EA #E0EA73 #73EA7C
monochromatic
#7F1EC5 #9D3EE2 #B873EA #D3A8F2 #EEDDFA
Accessibility & contrast
On white
3.14
#B873EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#B873EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B873EA
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B873EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B873EA | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#B187A4
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b873ea; /* rgb */ color: rgb(184, 115, 234); /* oklch */ color: oklch(67.7% 0.180 309.1);
Tailwind
colors: {
custom: {
50: '#d09df1',
500: '#b873ea',
950: '#000000',
},
}SCSS
$custom: #b873ea; $custom-light: #d09df1; $custom-dark: #000000;
JSON
{
"hex": "#b873ea",
"rgb": {
"r": 184,
"g": 115,
"b": 234
},
"hsl": {
"h": 274.79,
"s": 73.913,
"l": 68.431
},
"oklch": {
"l": 0.67742,
"c": 0.18009,
"h": 309.1
},
"luminance": 0.28392
}Semantic roles & 50–950 ramp
primary
#B873EA
secondary
#DAEECA
accent
#D60F63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85