#C873F7#C873F7
#C873F7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.2% C 0.200 H 312.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C873F7 |
|---|---|
| RGB | rgb(200, 115, 247) |
| HSL | hsl(279, 89%, 71%) |
| HSV | hsv(279, 53%, 97%) |
| CMYK | cmyk(19%, 53.4%, 0%, 3.1%) |
| CIE-LAB | lab(62.72, 55.32, -53.04) |
| CIE-LCH | lch(62.72, 76.63, 316.21°) |
| OKLab | oklab(70.19% 0.1339 -0.1484) |
| OKLCH | oklch(70.19% 0.2 312.1) |
| XYZ | xyz(46.7357, 31.2573, 91.5489) |
| Luminance | 0.3126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.76
Easter Purple
#C071FE
ΔE00 2.15
Bright Lavender
#C760FF
ΔE00 3.98
Light Urple
#B36FF6
ΔE00 4.04
Bright Lilac
#C95EFB
ΔE00 4.13
Heliotrope
#D94FF5
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873F7 #A2F773
analogous
#8673F7 #C873F7 #F773E4
triadic
#C873F7 #F7C873 #73F7C8
tetradic
#C873F7 #F78673 #A2F773 #73E4F7
square
#C873F7 #F78673 #A2F773 #73E4F7
split-complementary
#C873F7 #E4F773 #73F786
monochromatic
#970DE3 #B139F4 #C873F7 #DFADFA #F4E2FD
Accessibility & contrast
On white
2.90
#C873F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#C873F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873F7
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873F7 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#C389AA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c873f7; /* rgb */ color: rgb(200, 115, 247); /* oklch */ color: oklch(70.2% 0.200 312.1);
Tailwind
colors: {
custom: {
50: '#db9efa',
500: '#c873f7',
950: '#000000',
},
}SCSS
$custom: #c873f7; $custom-light: #db9efa; $custom-dark: #000000;
JSON
{
"hex": "#c873f7",
"rgb": {
"r": 200,
"g": 115,
"b": 247
},
"hsl": {
"h": 278.636,
"s": 89.189,
"l": 70.98
},
"oklch": {
"l": 0.70192,
"c": 0.19993,
"h": 312.1
},
"luminance": 0.31256
}Semantic roles & 50–950 ramp
primary
#C873F7
secondary
#DEF4D1
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85