#B873F8#B873F8
#B873F8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.5% C 0.196 H 305.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B873F8 |
|---|---|
| RGB | rgb(184, 115, 248) |
| HSL | hsl(271, 90%, 71%) |
| HSV | hsv(271, 54%, 97%) |
| CMYK | cmyk(25.8%, 53.6%, 0%, 2.7%) |
| CIE-LAB | lab(60.98, 51.53, -56.47) |
| CIE-LCH | lch(60.98, 76.44, 312.38°) |
| OKLab | oklab(68.53% 0.1147 -0.1589) |
| OKLCH | oklch(68.53% 0.196 305.8) |
| XYZ | xyz(42.8376, 29.2295, 92.1738) |
| Luminance | 0.2923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.34
Easter Purple
#C071FE
ΔE00 1.47
Light Purple
#BF77F6
ΔE00 1.77
Bright Lavender
#C760FF
ΔE00 4.21
Bright Lilac
#C95EFB
ΔE00 4.69
Liliac
#C48EFD
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B873F8 #B3F873
analogous
#7573F8 #B873F8 #F873F5
triadic
#B873F8 #F8B873 #73F8B8
tetradic
#B873F8 #F87573 #B3F873 #73F5F8
square
#B873F8 #F87573 #B3F873 #73F5F8
split-complementary
#B873F8 #F5F873 #73F875
monochromatic
#7C0BE5 #9A39F5 #B873F8 #D6ADFB #F0E2FE
Accessibility & contrast
On white
3.07
#B873F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#B873F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B873F8
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B873F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B873F8 | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#5D94F5
Tritanopia (blue-blind)
#AE8CAB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b873f8; /* rgb */ color: rgb(184, 115, 248); /* oklch */ color: oklch(68.5% 0.196 305.8);
Tailwind
colors: {
custom: {
50: '#d09dfb',
500: '#b873f8',
950: '#000000',
},
}SCSS
$custom: #b873f8; $custom-light: #d09dfb; $custom-dark: #000000;
JSON
{
"hex": "#b873f8",
"rgb": {
"r": 184,
"g": 115,
"b": 248
},
"hsl": {
"h": 271.128,
"s": 90.476,
"l": 71.176
},
"oklch": {
"l": 0.6853,
"c": 0.19594,
"h": 305.8
},
"luminance": 0.29229
}Semantic roles & 50–950 ramp
primary
#B873F8
secondary
#E3F5D2
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85