#B873EF#B873EF
#B873EF is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.186 H 307.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B873EF |
|---|---|
| RGB | rgb(184, 115, 239) |
| HSL | hsl(273, 79%, 69%) |
| HSV | hsv(273, 52%, 94%) |
| CMYK | cmyk(23%, 51.9%, 0%, 6.3%) |
| CIE-LAB | lab(60.50, 49.49, -52.25) |
| CIE-LCH | lch(60.50, 71.97, 313.45°) |
| OKLab | oklab(68.02% 0.1141 -0.1466) |
| OKLCH | oklch(68.02% 0.186 307.9) |
| XYZ | xyz(41.4748, 28.6843, 84.9963) |
| Luminance | 0.2868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.71
Light Urple
#B36FF6
ΔE00 1.93
Easter Purple
#C071FE
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 4.48
Bright Lilac
#C95EFB
ΔE00 4.74
Liliac
#C48EFD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B873EF #AAEF73
analogous
#7A73EF #B873EF #EF73E8
triadic
#B873EF #EFB873 #73EFB8
tetradic
#B873EF #EF7A73 #AAEF73 #73E8EF
square
#B873EF #EF7A73 #AAEF73 #73E8EF
split-complementary
#B873EF #E8EF73 #73EF7A
monochromatic
#7E18D0 #9C3CE9 #B873EF #D4AAF5 #F0E1FC
Accessibility & contrast
On white
3.12
#B873EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#B873EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B873EF
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B873EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B873EF | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#B089A6
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b873ef; /* rgb */ color: rgb(184, 115, 239); /* oklch */ color: oklch(68.0% 0.186 307.9);
Tailwind
colors: {
custom: {
50: '#d09df5',
500: '#b873ef',
950: '#000000',
},
}SCSS
$custom: #b873ef; $custom-light: #d09df5; $custom-dark: #000000;
JSON
{
"hex": "#b873ef",
"rgb": {
"r": 184,
"g": 115,
"b": 239
},
"hsl": {
"h": 273.387,
"s": 79.487,
"l": 69.412
},
"oklch": {
"l": 0.68018,
"c": 0.18574,
"h": 307.9
},
"luminance": 0.28684
}Semantic roles & 50–950 ramp
primary
#B873EF
secondary
#DDF1CD
accent
#DC0A67
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85