#C878FC#C878FC
#C878FC is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.2% C 0.198 H 310.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C878FC |
|---|---|
| RGB | rgb(200, 120, 252) |
| HSL | hsl(276, 96%, 73%) |
| HSV | hsv(276, 52%, 99%) |
| CMYK | cmyk(20.6%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(63.95, 53.84, -53.84) |
| CIE-LCH | lch(63.95, 76.14, 315.00°) |
| OKLab | oklab(71.18% 0.1279 -0.1508) |
| OKLCH | oklch(71.18% 0.198 310.3) |
| XYZ | xyz(48.1033, 32.7415, 95.8623) |
| Luminance | 0.3274 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.62
Easter Purple
#C071FE
ΔE00 2.31
Light Urple
#B36FF6
ΔE00 4.37
Bright Lavender
#C760FF
ΔE00 4.88
Bright Lilac
#C95EFB
ΔE00 5.17
Liliac
#C48EFD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C878FC #ACFC78
analogous
#8678FC #C878FC #FC78EE
triadic
#C878FC #FCC878 #78FCC8
tetradic
#C878FC #FC8678 #ACFC78 #78EEFC
square
#C878FC #FC8678 #ACFC78 #78EEFC
split-complementary
#C878FC #EEFC78 #78FC86
monochromatic
#9605F4 #B03CFB #C878FC #E0B4FD #F3E1FE
Accessibility & contrast
On white
2.78
#C878FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#C878FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C878FC
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C878FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C878FC | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6D9CF9
Tritanopia (blue-blind)
#C28FAF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c878fc; /* rgb */ color: rgb(200, 120, 252); /* oklch */ color: oklch(71.2% 0.198 310.3);
Tailwind
colors: {
custom: {
50: '#dba1fe',
500: '#c878fc',
950: '#000000',
},
}SCSS
$custom: #c878fc; $custom-light: #dba1fe; $custom-dark: #000000;
JSON
{
"hex": "#c878fc",
"rgb": {
"r": 200,
"g": 120,
"b": 252
},
"hsl": {
"h": 276.364,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.7118,
"c": 0.1977,
"h": 310.3
},
"luminance": 0.32741
}Semantic roles & 50–950 ramp
primary
#C878FC
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86