#C873EF#C873EF
#C873EF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.191 H 314.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C873EF |
|---|---|
| RGB | rgb(200, 115, 239) |
| HSL | hsl(281, 79%, 69%) |
| HSV | hsv(281, 52%, 94%) |
| CMYK | cmyk(16.3%, 51.9%, 0%, 6.3%) |
| CIE-LAB | lab(62.32, 53.64, -49.26) |
| CIE-LCH | lch(62.32, 72.83, 317.44°) |
| OKLab | oklab(69.76% 0.1333 -0.1374) |
| OKLCH | oklch(69.76% 0.191 314.1) |
| XYZ | xyz(45.5276, 30.7741, 85.1863) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.42
Easter Purple
#C071FE
ΔE00 3.21
Bright Lilac
#C95EFB
ΔE00 4.49
Bright Lavender
#C760FF
ΔE00 4.54
Light Urple
#B36FF6
ΔE00 4.61
Heliotrope
#D94FF5
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873EF #9AEF73
analogous
#8A73EF #C873EF #EF73D8
triadic
#C873EF #EFC873 #73EFC8
tetradic
#C873EF #EF8A73 #9AEF73 #73D8EF
square
#C873EF #EF8A73 #9AEF73 #73D8EF
split-complementary
#C873EF #D8EF73 #73EF8A
monochromatic
#9618D0 #B23CE9 #C873EF #DEAAF5 #F3E1FC
Accessibility & contrast
On white
2.94
#C873EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#C873EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873EF
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873EF | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#C587A6
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c873ef; /* rgb */ color: rgb(200, 115, 239); /* oklch */ color: oklch(69.8% 0.191 314.1);
Tailwind
colors: {
custom: {
50: '#db9ef5',
500: '#c873ef',
950: '#000000',
},
}SCSS
$custom: #c873ef; $custom-light: #db9ef5; $custom-dark: #000000;
JSON
{
"hex": "#c873ef",
"rgb": {
"r": 200,
"g": 115,
"b": 239
},
"hsl": {
"h": 281.129,
"s": 79.487,
"l": 69.412
},
"oklch": {
"l": 0.69759,
"c": 0.19147,
"h": 314.1
},
"luminance": 0.30773
}Semantic roles & 50–950 ramp
primary
#C873EF
secondary
#D8F1CD
accent
#DC0A4C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85