#C873F5#C873F5
#C873F5 is a light, vivid violet. Relative luminance 0.311; OKLCH L 70.1% C 0.198 H 312.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C873F5 |
|---|---|
| RGB | rgb(200, 115, 245) |
| HSL | hsl(279, 87%, 71%) |
| HSV | hsv(279, 53%, 96%) |
| CMYK | cmyk(18.4%, 53.1%, 0%, 3.9%) |
| CIE-LAB | lab(62.62, 54.90, -52.10) |
| CIE-LCH | lch(62.62, 75.68, 316.50°) |
| OKLab | oklab(70.08% 0.1338 -0.1457) |
| OKLCH | oklch(70.08% 0.198 312.6) |
| XYZ | xyz(46.4287, 31.1345, 89.9323) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.87
Easter Purple
#C071FE
ΔE00 2.39
Bright Lavender
#C760FF
ΔE00 4.09
Light Urple
#B36FF6
ΔE00 4.15
Bright Lilac
#C95EFB
ΔE00 4.19
Heliotrope
#D94FF5
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873F5 #A0F573
analogous
#8773F5 #C873F5 #F573E1
triadic
#C873F5 #F5C873 #73F5C8
tetradic
#C873F5 #F58773 #A0F573 #73E1F5
square
#C873F5 #F58773 #A0F573 #73E1F5
split-complementary
#C873F5 #E1F573 #73F587
monochromatic
#9610DE #B23AF1 #C873F5 #DEACF9 #F4E2FD
Accessibility & contrast
On white
2.91
#C873F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#C873F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873F5
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873F5 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#6D99F2
Tritanopia (blue-blind)
#C389A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c873f5; /* rgb */ color: rgb(200, 115, 245); /* oklch */ color: oklch(70.1% 0.198 312.6);
Tailwind
colors: {
custom: {
50: '#db9ef9',
500: '#c873f5',
950: '#000000',
},
}SCSS
$custom: #c873f5; $custom-light: #db9ef9; $custom-dark: #000000;
JSON
{
"hex": "#c873f5",
"rgb": {
"r": 200,
"g": 115,
"b": 245
},
"hsl": {
"h": 279.231,
"s": 86.667,
"l": 70.588
},
"oklch": {
"l": 0.70082,
"c": 0.19781,
"h": 312.6
},
"luminance": 0.31133
}Semantic roles & 50–950 ramp
primary
#C873F5
secondary
#DCF4D0
accent
#E30250
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85