#C879FC#C879FC
#C879FC is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.196 H 310.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C879FC |
|---|---|
| RGB | rgb(200, 121, 252) |
| HSL | hsl(276, 96%, 73%) |
| HSV | hsv(276, 52%, 99%) |
| CMYK | cmyk(20.6%, 52%, 0%, 1.2%) |
| CIE-LAB | lab(64.15, 53.33, -53.53) |
| CIE-LCH | lch(64.15, 75.56, 314.89°) |
| OKLab | oklab(71.32% 0.1266 -0.1499) |
| OKLCH | oklch(71.32% 0.196 310.2) |
| XYZ | xyz(48.2242, 32.9832, 95.9026) |
| Luminance | 0.3298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.68
Easter Purple
#C071FE
ΔE00 2.47
Light Urple
#B36FF6
ΔE00 4.49
Liliac
#C48EFD
ΔE00 5.00
Bright Lavender
#C760FF
ΔE00 5.09
Bright Lilac
#C95EFB
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C879FC #ADFC79
analogous
#8679FC #C879FC #FC79EF
triadic
#C879FC #FCC879 #79FCC8
tetradic
#C879FC #FC8679 #ADFC79 #79EFFC
square
#C879FC #FC8679 #ADFC79 #79EFFC
split-complementary
#C879FC #EFFC79 #79FC86
monochromatic
#9605F5 #AF3DFB #C879FC #E1B5FD #F3E1FE
Accessibility & contrast
On white
2.76
#C879FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#C879FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C879FC
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C879FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C879FC | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#C28FAF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c879fc; /* rgb */ color: rgb(200, 121, 252); /* oklch */ color: oklch(71.3% 0.196 310.2);
Tailwind
colors: {
custom: {
50: '#dba2fe',
500: '#c879fc',
950: '#000000',
},
}SCSS
$custom: #c879fc; $custom-light: #dba2fe; $custom-dark: #000000;
JSON
{
"hex": "#c879fc",
"rgb": {
"r": 200,
"g": 121,
"b": 252
},
"hsl": {
"h": 276.183,
"s": 95.62,
"l": 73.137
},
"oklch": {
"l": 0.71324,
"c": 0.19618,
"h": 310.2
},
"luminance": 0.32982
}Semantic roles & 50–950 ramp
primary
#C879FC
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86