#C873F8#C873F8
#C873F8 is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.2% C 0.201 H 311.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C873F8 |
|---|---|
| RGB | rgb(200, 115, 248) |
| HSL | hsl(278, 90%, 71%) |
| HSV | hsv(278, 54%, 97%) |
| CMYK | cmyk(19.4%, 53.6%, 0%, 2.7%) |
| CIE-LAB | lab(62.78, 55.53, -53.51) |
| CIE-LCH | lch(62.78, 77.11, 316.06°) |
| OKLab | oklab(70.25% 0.134 -0.1498) |
| OKLCH | oklch(70.25% 0.201 311.8) |
| XYZ | xyz(46.8904, 31.3192, 92.3638) |
| Luminance | 0.3132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.73
Easter Purple
#C071FE
ΔE00 2.04
Bright Lavender
#C760FF
ΔE00 3.93
Light Urple
#B36FF6
ΔE00 4.00
Bright Lilac
#C95EFB
ΔE00 4.11
Liliac
#C48EFD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873F8 #A3F873
analogous
#8573F8 #C873F8 #F873E5
triadic
#C873F8 #F8C873 #73F8C8
tetradic
#C873F8 #F88573 #A3F873 #73E5F8
square
#C873F8 #F88573 #A3F873 #73E5F8
split-complementary
#C873F8 #E5F873 #73F885
monochromatic
#970BE5 #B139F5 #C873F8 #DFADFB #F4E2FE
Accessibility & contrast
On white
2.89
#C873F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#C873F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873F8
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873F8 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#C38AAB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c873f8; /* rgb */ color: rgb(200, 115, 248); /* oklch */ color: oklch(70.2% 0.201 311.8);
Tailwind
colors: {
custom: {
50: '#db9efb',
500: '#c873f8',
950: '#000000',
},
}SCSS
$custom: #c873f8; $custom-light: #db9efb; $custom-dark: #000000;
JSON
{
"hex": "#c873f8",
"rgb": {
"r": 200,
"g": 115,
"b": 248
},
"hsl": {
"h": 278.346,
"s": 90.476,
"l": 71.176
},
"oklch": {
"l": 0.70247,
"c": 0.20099,
"h": 311.8
},
"luminance": 0.31318
}Semantic roles & 50–950 ramp
primary
#C873F8
secondary
#DFF5D2
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85