#C878F7#C878F7
#C878F7 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.192 H 311.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C878F7 |
|---|---|
| RGB | rgb(200, 120, 247) |
| HSL | hsl(278, 89%, 72%) |
| HSV | hsv(278, 51%, 97%) |
| CMYK | cmyk(19%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(63.70, 52.77, -51.50) |
| CIE-LCH | lch(63.70, 73.73, 315.70°) |
| OKLab | oklab(70.91% 0.1275 -0.144) |
| OKLCH | oklch(70.91% 0.192 311.5) |
| XYZ | xyz(47.3214, 32.4287, 91.7442) |
| Luminance | 0.3243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.67
Easter Purple
#C071FE
ΔE00 2.70
Light Urple
#B36FF6
ΔE00 4.54
Bright Lavender
#C760FF
ΔE00 5.03
Bright Lilac
#C95EFB
ΔE00 5.21
Liliac
#C48EFD
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C878F7 #A7F778
analogous
#8978F7 #C878F7 #F778E7
triadic
#C878F7 #F7C878 #78F7C8
tetradic
#C878F7 #F78978 #A7F778 #78E7F7
square
#C878F7 #F78978 #A7F778 #78E7F7
split-complementary
#C878F7 #E7F778 #78F789
monochromatic
#970EE7 #B03EF4 #C878F7 #E0B2FA #F3E2FD
Accessibility & contrast
On white
2.81
#C878F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#C878F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C878F7
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C878F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C878F7 | 1.00 | 2.81 | 7.49 | 7.49 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#C38DAD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c878f7; /* rgb */ color: rgb(200, 120, 247); /* oklch */ color: oklch(70.9% 0.192 311.5);
Tailwind
colors: {
custom: {
50: '#dba1fa',
500: '#c878f7',
950: '#000000',
},
}SCSS
$custom: #c878f7; $custom-light: #dba1fa; $custom-dark: #000000;
JSON
{
"hex": "#c878f7",
"rgb": {
"r": 200,
"g": 120,
"b": 247
},
"hsl": {
"h": 277.795,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.70908,
"c": 0.19228,
"h": 311.5
},
"luminance": 0.32428
}Semantic roles & 50–950 ramp
primary
#C878F7
secondary
#E1F5D5
accent
#E50055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85