#C879F2#C879F2
#C879F2 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.8% C 0.185 H 312.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C879F2 |
|---|---|
| RGB | rgb(200, 121, 242) |
| HSL | hsl(279, 82%, 71%) |
| HSV | hsv(279, 50%, 95%) |
| CMYK | cmyk(17.4%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(63.64, 51.20, -48.82) |
| CIE-LCH | lch(63.64, 70.74, 316.36°) |
| OKLab | oklab(70.79% 0.1257 -0.1362) |
| OKLCH | oklch(70.79% 0.185 312.7) |
| XYZ | xyz(46.6811, 32.3660, 87.7754) |
| Luminance | 0.3236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.12
Easter Purple
#C071FE
ΔE00 3.39
Light Urple
#B36FF6
ΔE00 4.96
Liliac
#C48EFD
ΔE00 5.31
Bright Lavender
#C760FF
ΔE00 5.51
Bright Lilac
#C95EFB
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C879F2 #A3F279
analogous
#8B79F2 #C879F2 #F279DF
triadic
#C879F2 #F2C879 #79F2C8
tetradic
#C879F2 #F28B79 #A3F279 #79DFF2
square
#C879F2 #F28B79 #A3F279 #79DFF2
split-complementary
#C879F2 #DFF279 #79F28B
monochromatic
#9715DB #B141ED #C879F2 #DFB1F7 #F4E3FC
Accessibility & contrast
On white
2.81
#C879F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#C879F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C879F2
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C879F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C879F2 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#C48CAB
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c879f2; /* rgb */ color: rgb(200, 121, 242); /* oklch */ color: oklch(70.8% 0.185 312.7);
Tailwind
colors: {
custom: {
50: '#dba2f7',
500: '#c879f2',
950: '#000000',
},
}SCSS
$custom: #c879f2; $custom-light: #dba2f7; $custom-dark: #000000;
JSON
{
"hex": "#c879f2",
"rgb": {
"r": 200,
"g": 121,
"b": 242
},
"hsl": {
"h": 279.174,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.70789,
"c": 0.1853,
"h": 312.7
},
"luminance": 0.32365
}Semantic roles & 50–950 ramp
primary
#C879F2
secondary
#DFF3D3
accent
#DF0752
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85