#C873F9#C873F9
#C873F9 is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.3% C 0.202 H 311.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C873F9 |
|---|---|
| RGB | rgb(200, 115, 249) |
| HSL | hsl(278, 92%, 71%) |
| HSV | hsv(278, 54%, 98%) |
| CMYK | cmyk(19.7%, 53.8%, 0%, 2.4%) |
| CIE-LAB | lab(62.83, 55.74, -53.97) |
| CIE-LCH | lch(62.83, 77.59, 315.92°) |
| OKLab | oklab(70.3% 0.1341 -0.1512) |
| OKLCH | oklch(70.3% 0.202 311.6) |
| XYZ | xyz(47.0460, 31.3814, 93.1831) |
| Luminance | 0.3138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.71
Easter Purple
#C071FE
ΔE00 1.94
Bright Lavender
#C760FF
ΔE00 3.89
Light Urple
#B36FF6
ΔE00 3.96
Bright Lilac
#C95EFB
ΔE00 4.10
Liliac
#C48EFD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873F9 #A4F973
analogous
#8573F9 #C873F9 #F973E7
triadic
#C873F9 #F9C873 #73F9C8
tetradic
#C873F9 #F98573 #A4F973 #73E7F9
square
#C873F9 #F98573 #A4F973 #73E7F9
split-complementary
#C873F9 #E7F973 #73F985
monochromatic
#970AE8 #B138F6 #C873F9 #DFAEFC #F3E2FE
Accessibility & contrast
On white
2.89
#C873F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#C873F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873F9
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873F9 | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#C38AAB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c873f9; /* rgb */ color: rgb(200, 115, 249); /* oklch */ color: oklch(70.3% 0.202 311.6);
Tailwind
colors: {
custom: {
50: '#db9efc',
500: '#c873f9',
950: '#000000',
},
}SCSS
$custom: #c873f9; $custom-light: #db9efc; $custom-dark: #000000;
JSON
{
"hex": "#c873f9",
"rgb": {
"r": 200,
"g": 115,
"b": 249
},
"hsl": {
"h": 278.06,
"s": 91.781,
"l": 71.373
},
"oklch": {
"l": 0.70302,
"c": 0.20205,
"h": 311.6
},
"luminance": 0.3138
}Semantic roles & 50–950 ramp
primary
#C873F9
secondary
#DFF5D2
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85