#C879FE#C879FE
#C879FE is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.198 H 309.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C879FE |
|---|---|
| RGB | rgb(200, 121, 254) |
| HSL | hsl(276, 99%, 74%) |
| HSV | hsv(276, 52%, 100%) |
| CMYK | cmyk(21.3%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(64.25, 53.76, -54.46) |
| CIE-LCH | lch(64.25, 76.53, 314.63°) |
| OKLab | oklab(71.43% 0.1267 -0.1526) |
| OKLCH | oklch(71.43% 0.198 309.7) |
| XYZ | xyz(48.5428, 33.1107, 97.5805) |
| Luminance | 0.3311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.76
Easter Purple
#C071FE
ΔE00 2.38
Light Urple
#B36FF6
ΔE00 4.47
Liliac
#C48EFD
ΔE00 4.99
Bright Lavender
#C760FF
ΔE00 5.07
Bright Lilac
#C95EFB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C879FE #AFFE79
analogous
#8579FE #C879FE #FE79F2
triadic
#C879FE #FEC879 #79FEC8
tetradic
#C879FE #FE8579 #AFFE79 #79F2FE
square
#C879FE #FE8579 #AFFE79 #79F2FE
split-complementary
#C879FE #F2FE79 #79FE85
monochromatic
#9602FB #AF3CFE #C879FE #E1B6FE #F3E1FF
Accessibility & contrast
On white
2.76
#C879FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#C879FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C879FE
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C879FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C879FE | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C190B0
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c879fe; /* rgb */ color: rgb(200, 121, 254); /* oklch */ color: oklch(71.4% 0.198 309.7);
Tailwind
colors: {
custom: {
50: '#dba2ff',
500: '#c879fe',
950: '#000000',
},
}SCSS
$custom: #c879fe; $custom-light: #dba2ff; $custom-dark: #000000;
JSON
{
"hex": "#c879fe",
"rgb": {
"r": 200,
"g": 121,
"b": 254
},
"hsl": {
"h": 275.639,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.71434,
"c": 0.19836,
"h": 309.7
},
"luminance": 0.3311
}Semantic roles & 50–950 ramp
primary
#C879FE
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86