#B873FE#B873FE
#B873FE is a light, highly saturated violet. Relative luminance 0.296; OKLCH L 68.9% C 0.203 H 304.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B873FE |
|---|---|
| RGB | rgb(184, 115, 254) |
| HSL | hsl(270, 99%, 72%) |
| HSV | hsv(270, 55%, 100%) |
| CMYK | cmyk(27.6%, 54.7%, 0%, 0.4%) |
| CIE-LAB | lab(61.31, 52.90, -59.24) |
| CIE-LCH | lch(61.31, 79.43, 311.76°) |
| OKLab | oklab(68.88% 0.1149 -0.167) |
| OKLCH | oklch(68.88% 0.203 304.5) |
| XYZ | xyz(43.7834, 29.6078, 97.1550) |
| Luminance | 0.2961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.48
Light Urple
#B36FF6
ΔE00 1.62
Light Purple
#BF77F6
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 4.28
Bright Lilac
#C95EFB
ΔE00 4.87
Liliac
#C48EFD
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B873FE #B9FE73
analogous
#7374FE #B873FE #FD73FE
triadic
#B873FE #FEB873 #73FEB8
tetradic
#B873FE #FE7374 #B9FE73 #73FEFD
square
#B873FE #FE7374 #B9FE73 #73FEFD
split-complementary
#B873FE #FEFD73 #74FE73
monochromatic
#7A02F5 #9936FE #B873FE #D7B0FE #F0E1FF
Accessibility & contrast
On white
3.03
#B873FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#B873FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B873FE
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B873FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B873FE | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5894FB
Tritanopia (blue-blind)
#AC8DAE
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b873fe; /* rgb */ color: rgb(184, 115, 254); /* oklch */ color: oklch(68.9% 0.203 304.5);
Tailwind
colors: {
custom: {
50: '#d19eff',
500: '#b873fe',
950: '#000000',
},
}SCSS
$custom: #b873fe; $custom-light: #d19eff; $custom-dark: #000000;
JSON
{
"hex": "#b873fe",
"rgb": {
"r": 184,
"g": 115,
"b": 254
},
"hsl": {
"h": 269.784,
"s": 98.582,
"l": 72.353
},
"oklch": {
"l": 0.6888,
"c": 0.20273,
"h": 304.5
},
"luminance": 0.29608
}Semantic roles & 50–950 ramp
primary
#B873FE
secondary
#E6F7D4
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86