#C878F9#C878F9
#C878F9 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.0% C 0.194 H 311.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C878F9 |
|---|---|
| RGB | rgb(200, 120, 249) |
| HSL | hsl(277, 91%, 72%) |
| HSV | hsv(277, 52%, 98%) |
| CMYK | cmyk(19.7%, 51.8%, 0%, 2.4%) |
| CIE-LAB | lab(63.80, 53.20, -52.44) |
| CIE-LCH | lch(63.80, 74.70, 315.41°) |
| OKLab | oklab(71.02% 0.1276 -0.1467) |
| OKLCH | oklch(71.02% 0.194 311) |
| XYZ | xyz(47.6317, 32.5528, 93.3783) |
| Luminance | 0.3255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.60
Easter Purple
#C071FE
ΔE00 2.52
Light Urple
#B36FF6
ΔE00 4.45
Bright Lavender
#C760FF
ΔE00 4.95
Bright Lilac
#C95EFB
ΔE00 5.18
Liliac
#C48EFD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C878F9 #A9F978
analogous
#8778F9 #C878F9 #F978EA
triadic
#C878F9 #F9C878 #78F9C8
tetradic
#C878F9 #F98778 #A9F978 #78EAF9
square
#C878F9 #F98778 #A9F978 #78EAF9
split-complementary
#C878F9 #EAF978 #78F987
monochromatic
#960AEC #B03DF6 #C878F9 #E0B3FC #F3E2FE
Accessibility & contrast
On white
2.80
#C878F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#C878F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C878F9
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C878F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C878F9 | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5597FD
Deuteranopia (green-blind)
#6F9CF6
Tritanopia (blue-blind)
#C28EAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c878f9; /* rgb */ color: rgb(200, 120, 249); /* oklch */ color: oklch(71.0% 0.194 311.0);
Tailwind
colors: {
custom: {
50: '#dba1fc',
500: '#c878f9',
950: '#000000',
},
}SCSS
$custom: #c878f9; $custom-light: #dba1fc; $custom-dark: #000000;
JSON
{
"hex": "#c878f9",
"rgb": {
"r": 200,
"g": 120,
"b": 249
},
"hsl": {
"h": 277.209,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.71016,
"c": 0.19445,
"h": 311
},
"luminance": 0.32552
}Semantic roles & 50–950 ramp
primary
#C878F9
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85