#C877F2#C877F2
#C877F2 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.5% C 0.188 H 312.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C877F2 |
|---|---|
| RGB | rgb(200, 119, 242) |
| HSL | hsl(280, 83%, 71%) |
| HSV | hsv(280, 51%, 95%) |
| CMYK | cmyk(17.4%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(63.25, 52.23, -49.45) |
| CIE-LCH | lch(63.25, 71.92, 316.57°) |
| OKLab | oklab(70.49% 0.1283 -0.138) |
| OKLCH | oklch(70.49% 0.188 312.9) |
| XYZ | xyz(46.4405, 31.8849, 87.6952) |
| Luminance | 0.3188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.02
Easter Purple
#C071FE
ΔE00 3.13
Light Urple
#B36FF6
ΔE00 4.73
Bright Lavender
#C760FF
ΔE00 5.09
Bright Lilac
#C95EFB
ΔE00 5.16
Liliac
#C48EFD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C877F2 #A1F277
analogous
#8A77F2 #C877F2 #F277DE
triadic
#C877F2 #F2C877 #77F2C8
tetradic
#C877F2 #F28A77 #A1F277 #77DEF2
square
#C877F2 #F28A77 #A1F277 #77DEF2
split-complementary
#C877F2 #DEF277 #77F28A
monochromatic
#9715DA #B13FED #C877F2 #DFAFF7 #F4E3FC
Accessibility & contrast
On white
2.85
#C877F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#C877F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C877F2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C877F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C877F2 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#C48BAA
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c877f2; /* rgb */ color: rgb(200, 119, 242); /* oklch */ color: oklch(70.5% 0.188 312.9);
Tailwind
colors: {
custom: {
50: '#dba1f7',
500: '#c877f2',
950: '#000000',
},
}SCSS
$custom: #c877f2; $custom-light: #dba1f7; $custom-dark: #000000;
JSON
{
"hex": "#c877f2",
"rgb": {
"r": 200,
"g": 119,
"b": 242
},
"hsl": {
"h": 279.512,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.70495,
"c": 0.18843,
"h": 312.9
},
"luminance": 0.31884
}Semantic roles & 50–950 ramp
primary
#C877F2
secondary
#DDF3D2
accent
#DF0750
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85