#C873FB#C873FB
#C873FB is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.4% C 0.204 H 311.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C873FB |
|---|---|
| RGB | rgb(200, 115, 251) |
| HSL | hsl(278, 94%, 72%) |
| HSV | hsv(278, 54%, 98%) |
| CMYK | cmyk(20.3%, 54.2%, 0%, 1.6%) |
| CIE-LAB | lab(62.93, 56.16, -54.91) |
| CIE-LCH | lch(62.93, 78.55, 315.65°) |
| OKLab | oklab(70.41% 0.1342 -0.1539) |
| OKLCH | oklch(70.41% 0.204 311.1) |
| XYZ | xyz(47.3596, 31.5068, 94.8347) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.71
Easter Purple
#C071FE
ΔE00 1.76
Bright Lavender
#C760FF
ΔE00 3.83
Light Urple
#B36FF6
ΔE00 3.89
Bright Lilac
#C95EFB
ΔE00 4.10
Liliac
#C48EFD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C873FB #A6FB73
analogous
#8473FB #C873FB #FB73EA
triadic
#C873FB #FBC873 #73FBC8
tetradic
#C873FB #FB8473 #A6FB73 #73EAFB
square
#C873FB #FB8473 #A6FB73 #73EAFB
split-complementary
#C873FB #EAFB73 #73FB84
monochromatic
#9707ED #B138F9 #C873FB #DFAFFD #F3E1FE
Accessibility & contrast
On white
2.88
#C873FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#C873FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C873FB
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C873FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C873FB | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#C28BAC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c873fb; /* rgb */ color: rgb(200, 115, 251); /* oklch */ color: oklch(70.4% 0.204 311.1);
Tailwind
colors: {
custom: {
50: '#dc9efd',
500: '#c873fb',
950: '#000000',
},
}SCSS
$custom: #c873fb; $custom-light: #dc9efd; $custom-dark: #000000;
JSON
{
"hex": "#c873fb",
"rgb": {
"r": 200,
"g": 115,
"b": 251
},
"hsl": {
"h": 277.5,
"s": 94.444,
"l": 71.765
},
"oklch": {
"l": 0.70413,
"c": 0.20418,
"h": 311.1
},
"luminance": 0.31506
}Semantic roles & 50–950 ramp
primary
#C873FB
secondary
#E1F6D4
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86