#C873F2#C873F2
#C873F2 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.195 H 313.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C873F2 |
|---|---|
| RGB | rgb(200, 115, 242) |
| HSL | hsl(280, 83%, 70%) |
| HSV | hsv(280, 52%, 95%) |
| CMYK | cmyk(17.4%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(62.47, 54.27, -50.68) |
| CIE-LCH | lch(62.47, 74.25, 316.96°) |
| OKLab | oklab(69.92% 0.1336 -0.1416) |
| OKLCH | oklch(69.92% 0.195 313.3) |
| XYZ | xyz(45.9745, 30.9528, 87.5398) |
| Luminance | 0.3095 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.11
Easter Purple
#C071FE
ΔE00 2.79
Bright Lavender
#C760FF
ΔE00 4.29
Bright Lilac
#C95EFB
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 4.36
Heliotrope
#D94FF5
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873F2 #9DF273
analogous
#8873F2 #C873F2 #F273DD
triadic
#C873F2 #F2C873 #73F2C8
tetradic
#C873F2 #F28873 #9DF273 #73DDF2
square
#C873F2 #F28873 #9DF273 #73DDF2
split-complementary
#C873F2 #DDF273 #73F288
monochromatic
#9614D7 #B23BED #C873F2 #DEABF7 #F4E3FC
Accessibility & contrast
On white
2.92
#C873F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#C873F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873F2
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873F2 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#C488A8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c873f2; /* rgb */ color: rgb(200, 115, 242); /* oklch */ color: oklch(69.9% 0.195 313.3);
Tailwind
colors: {
custom: {
50: '#db9ef7',
500: '#c873f2',
950: '#000000',
},
}SCSS
$custom: #c873f2; $custom-light: #db9ef7; $custom-dark: #000000;
JSON
{
"hex": "#c873f2",
"rgb": {
"r": 200,
"g": 115,
"b": 242
},
"hsl": {
"h": 280.157,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.6992,
"c": 0.19464,
"h": 313.3
},
"luminance": 0.30952
}Semantic roles & 50–950 ramp
primary
#C873F2
secondary
#DAF2CF
accent
#DF064E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85