#C879F8#C879F8
#C879F8 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.192 H 311.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C879F8 |
|---|---|
| RGB | rgb(200, 121, 248) |
| HSL | hsl(277, 90%, 72%) |
| HSV | hsv(277, 51%, 97%) |
| CMYK | cmyk(19.4%, 51.2%, 0%, 2.7%) |
| CIE-LAB | lab(63.94, 52.47, -51.65) |
| CIE-LCH | lch(63.94, 73.63, 315.45°) |
| OKLab | oklab(71.11% 0.1262 -0.1444) |
| OKLCH | oklch(71.11% 0.192 311.2) |
| XYZ | xyz(47.5970, 32.7324, 92.5993) |
| Luminance | 0.3273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.69
Easter Purple
#C071FE
ΔE00 2.75
Light Urple
#B36FF6
ΔE00 4.62
Liliac
#C48EFD
ΔE00 5.07
Bright Lavender
#C760FF
ΔE00 5.20
Bright Lilac
#C95EFB
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C879F8 #A9F879
analogous
#8979F8 #C879F8 #F879E8
triadic
#C879F8 #F8C879 #79F8C8
tetradic
#C879F8 #F88979 #A9F879 #79E8F8
square
#C879F8 #F88979 #A9F879 #79E8F8
split-complementary
#C879F8 #E8F879 #79F889
monochromatic
#960CEA #B03FF5 #C879F8 #E0B3FB #F3E2FD
Accessibility & contrast
On white
2.78
#C879F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#C879F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C879F8
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C879F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C879F8 | 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)
#5897FC
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#C38EAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c879f8; /* rgb */ color: rgb(200, 121, 248); /* oklch */ color: oklch(71.1% 0.192 311.2);
Tailwind
colors: {
custom: {
50: '#dba2fb',
500: '#c879f8',
950: '#000000',
},
}SCSS
$custom: #c879f8; $custom-light: #dba2fb; $custom-dark: #000000;
JSON
{
"hex": "#c879f8",
"rgb": {
"r": 200,
"g": 121,
"b": 248
},
"hsl": {
"h": 277.323,
"s": 90.071,
"l": 72.353
},
"oklch": {
"l": 0.71108,
"c": 0.19182,
"h": 311.2
},
"luminance": 0.32731
}Semantic roles & 50–950 ramp
primary
#C879F8
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85