#C879F7#C879F7
#C879F7 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.191 H 311.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C879F7 |
|---|---|
| RGB | rgb(200, 121, 247) |
| HSL | hsl(278, 89%, 72%) |
| HSV | hsv(278, 51%, 97%) |
| CMYK | cmyk(19%, 51%, 0%, 3.1%) |
| CIE-LAB | lab(63.89, 52.26, -51.18) |
| CIE-LCH | lch(63.89, 73.15, 315.60°) |
| OKLab | oklab(71.05% 0.1262 -0.143) |
| OKLCH | oklch(71.05% 0.191 311.4) |
| XYZ | xyz(47.4423, 32.6705, 91.7845) |
| Luminance | 0.3267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.73
Easter Purple
#C071FE
ΔE00 2.85
Light Urple
#B36FF6
ΔE00 4.66
Liliac
#C48EFD
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 5.24
Bright Lilac
#C95EFB
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C879F7 #A8F779
analogous
#8979F7 #C879F7 #F779E7
triadic
#C879F7 #F7C879 #79F7C8
tetradic
#C879F7 #F78979 #A8F779 #79E7F7
square
#C879F7 #F78979 #A8F779 #79E7F7
split-complementary
#C879F7 #E7F779 #79F789
monochromatic
#960EE8 #B03FF4 #C879F7 #E0B3FA #F3E2FD
Accessibility & contrast
On white
2.79
#C879F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#C879F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C879F7
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C879F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C879F7 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#719CF4
Tritanopia (blue-blind)
#C38EAD
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c879f7; /* rgb */ color: rgb(200, 121, 247); /* oklch */ color: oklch(71.1% 0.191 311.4);
Tailwind
colors: {
custom: {
50: '#dba2fa',
500: '#c879f7',
950: '#000000',
},
}SCSS
$custom: #c879f7; $custom-light: #dba2fa; $custom-dark: #000000;
JSON
{
"hex": "#c879f7",
"rgb": {
"r": 200,
"g": 121,
"b": 247
},
"hsl": {
"h": 277.619,
"s": 88.732,
"l": 72.157
},
"oklch": {
"l": 0.71054,
"c": 0.19073,
"h": 311.4
},
"luminance": 0.3267
}Semantic roles & 50–950 ramp
primary
#C879F7
secondary
#E1F5D6
accent
#E50056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85