#C873F3#C873F3
#C873F3 is a light, vivid violet. Relative luminance 0.310; OKLCH L 70.0% C 0.196 H 313.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C873F3 |
|---|---|
| RGB | rgb(200, 115, 243) |
| HSL | hsl(280, 84%, 70%) |
| HSV | hsv(280, 53%, 95%) |
| CMYK | cmyk(17.7%, 52.7%, 0%, 4.7%) |
| CIE-LAB | lab(62.52, 54.48, -51.15) |
| CIE-LCH | lch(62.52, 74.73, 316.80°) |
| OKLab | oklab(69.97% 0.1337 -0.1429) |
| OKLCH | oklch(69.97% 0.196 313.1) |
| XYZ | xyz(46.1251, 31.0130, 88.3330) |
| Luminance | 0.3101 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.02
Easter Purple
#C071FE
ΔE00 2.65
Bright Lavender
#C760FF
ΔE00 4.22
Bright Lilac
#C95EFB
ΔE00 4.26
Light Urple
#B36FF6
ΔE00 4.28
Heliotrope
#D94FF5
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873F3 #9EF373
analogous
#8873F3 #C873F3 #F373DE
triadic
#C873F3 #F3C873 #73F3C8
tetradic
#C873F3 #F38873 #9EF373 #73DEF3
square
#C873F3 #F38873 #9EF373 #73DEF3
split-complementary
#C873F3 #DEF373 #73F388
monochromatic
#9613D9 #B23BEE #C873F3 #DEABF8 #F4E3FD
Accessibility & contrast
On white
2.92
#C873F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#C873F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873F3
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873F3 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5293F7
Deuteranopia (green-blind)
#6E99F0
Tritanopia (blue-blind)
#C488A8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c873f3; /* rgb */ color: rgb(200, 115, 243); /* oklch */ color: oklch(70.0% 0.196 313.1);
Tailwind
colors: {
custom: {
50: '#db9ef7',
500: '#c873f3',
950: '#000000',
},
}SCSS
$custom: #c873f3; $custom-light: #db9ef7; $custom-dark: #000000;
JSON
{
"hex": "#c873f3",
"rgb": {
"r": 200,
"g": 115,
"b": 243
},
"hsl": {
"h": 279.844,
"s": 84.211,
"l": 70.196
},
"oklch": {
"l": 0.69974,
"c": 0.19569,
"h": 313.1
},
"luminance": 0.31012
}Semantic roles & 50–950 ramp
primary
#C873F3
secondary
#DBF3CF
accent
#E1054F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85