#C873FE#C873FE
#C873FE is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.6% C 0.207 H 310.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C873FE |
|---|---|
| RGB | rgb(200, 115, 254) |
| HSL | hsl(277, 99%, 72%) |
| HSV | hsv(277, 55%, 100%) |
| CMYK | cmyk(21.3%, 54.7%, 0%, 0.4%) |
| CIE-LAB | lab(63.09, 56.80, -56.30) |
| CIE-LCH | lch(63.09, 79.98, 315.25°) |
| OKLab | oklab(70.58% 0.1343 -0.158) |
| OKLCH | oklch(70.58% 0.207 310.4) |
| XYZ | xyz(47.8362, 31.6975, 97.3450) |
| Luminance | 0.3170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 1.56
Light Purple
#BF77F6
ΔE00 1.81
Bright Lavender
#C760FF
ΔE00 3.79
Light Urple
#B36FF6
ΔE00 3.85
Bright Lilac
#C95EFB
ΔE00 4.13
Liliac
#C48EFD
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873FE #A9FE73
analogous
#8373FE #C873FE #FE73EE
triadic
#C873FE #FEC873 #73FEC8
tetradic
#C873FE #FE8373 #A9FE73 #73EEFE
square
#C873FE #FE8373 #A9FE73 #73EEFE
split-complementary
#C873FE #EEFE73 #73FE83
monochromatic
#9602F5 #B036FE #C873FE #E0B0FE #F3E1FF
Accessibility & contrast
On white
2.86
#C873FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#C873FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873FE
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873FE | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#C18CAE
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c873fe; /* rgb */ color: rgb(200, 115, 254); /* oklch */ color: oklch(70.6% 0.207 310.4);
Tailwind
colors: {
custom: {
50: '#dc9eff',
500: '#c873fe',
950: '#000000',
},
}SCSS
$custom: #c873fe; $custom-light: #dc9eff; $custom-dark: #000000;
JSON
{
"hex": "#c873fe",
"rgb": {
"r": 200,
"g": 115,
"b": 254
},
"hsl": {
"h": 276.691,
"s": 98.582,
"l": 72.353
},
"oklch": {
"l": 0.70581,
"c": 0.20737,
"h": 310.4
},
"luminance": 0.31697
}Semantic roles & 50–950 ramp
primary
#C873FE
secondary
#E2F7D4
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86