#C879F6#C879F6
#C879F6 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.0% C 0.190 H 311.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C879F6 |
|---|---|
| RGB | rgb(200, 121, 246) |
| HSL | hsl(278, 87%, 72%) |
| HSV | hsv(278, 51%, 96%) |
| CMYK | cmyk(18.7%, 50.8%, 0%, 3.5%) |
| CIE-LAB | lab(63.84, 52.04, -50.71) |
| CIE-LCH | lch(63.84, 72.67, 315.74°) |
| OKLab | oklab(71% 0.1261 -0.1417) |
| OKLCH | oklch(71% 0.19 311.7) |
| XYZ | xyz(47.2884, 32.6089, 90.9740) |
| Luminance | 0.3261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.79
Easter Purple
#C071FE
ΔE00 2.94
Light Urple
#B36FF6
ΔE00 4.71
Liliac
#C48EFD
ΔE00 5.13
Bright Lavender
#C760FF
ΔE00 5.29
Bright Lilac
#C95EFB
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C879F6 #A7F679
analogous
#8A79F6 #C879F6 #F679E6
triadic
#C879F6 #F6C879 #79F6C8
tetradic
#C879F6 #F68A79 #A7F679 #79E6F6
square
#C879F6 #F68A79 #A7F679 #79E6F6
split-complementary
#C879F6 #E6F679 #79F68A
monochromatic
#970FE5 #B040F2 #C879F6 #E0B2FA #F3E2FD
Accessibility & contrast
On white
2.79
#C879F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#C879F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C879F6
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C879F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C879F6 | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#C38EAC
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c879f6; /* rgb */ color: rgb(200, 121, 246); /* oklch */ color: oklch(71.0% 0.190 311.7);
Tailwind
colors: {
custom: {
50: '#dba2fa',
500: '#c879f6',
950: '#000000',
},
}SCSS
$custom: #c879f6; $custom-light: #dba2fa; $custom-dark: #000000;
JSON
{
"hex": "#c879f6",
"rgb": {
"r": 200,
"g": 121,
"b": 246
},
"hsl": {
"h": 277.92,
"s": 87.413,
"l": 71.961
},
"oklch": {
"l": 0.71001,
"c": 0.18964,
"h": 311.7
},
"luminance": 0.32608
}Semantic roles & 50–950 ramp
primary
#C879F6
secondary
#E1F5D6
accent
#E40255
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85