#C878F6#C878F6
#C878F6 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.191 H 311.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C878F6 |
|---|---|
| RGB | rgb(200, 120, 246) |
| HSL | hsl(278, 88%, 72%) |
| HSV | hsv(278, 51%, 96%) |
| CMYK | cmyk(18.7%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(63.65, 52.56, -51.02) |
| CIE-LCH | lch(63.65, 73.25, 315.85°) |
| OKLab | oklab(70.85% 0.1274 -0.1426) |
| OKLCH | oklch(70.85% 0.191 311.8) |
| XYZ | xyz(47.1675, 32.3671, 90.9337) |
| Luminance | 0.3237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.72
Easter Purple
#C071FE
ΔE00 2.80
Light Urple
#B36FF6
ΔE00 4.59
Bright Lavender
#C760FF
ΔE00 5.07
Bright Lilac
#C95EFB
ΔE00 5.24
Liliac
#C48EFD
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C878F6 #A6F678
analogous
#8978F6 #C878F6 #F678E5
triadic
#C878F6 #F6C878 #78F6C8
tetradic
#C878F6 #F68978 #A6F678 #78E5F6
square
#C878F6 #F68978 #A6F678 #78E5F6
split-complementary
#C878F6 #E5F678 #78F689
monochromatic
#970FE4 #B13FF2 #C878F6 #DFB1FA #F3E2FD
Accessibility & contrast
On white
2.81
#C878F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#C878F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C878F6
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C878F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C878F6 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#C38DAC
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c878f6; /* rgb */ color: rgb(200, 120, 246); /* oklch */ color: oklch(70.9% 0.191 311.8);
Tailwind
colors: {
custom: {
50: '#dba1fa',
500: '#c878f6',
950: '#000000',
},
}SCSS
$custom: #c878f6; $custom-light: #dba1fa; $custom-dark: #000000;
JSON
{
"hex": "#c878f6",
"rgb": {
"r": 200,
"g": 120,
"b": 246
},
"hsl": {
"h": 278.095,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.70854,
"c": 0.1912,
"h": 311.8
},
"luminance": 0.32366
}Semantic roles & 50–950 ramp
primary
#C878F6
secondary
#E1F5D5
accent
#E40154
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85