#C877FC#C877FC
#C877FC is a light, vivid violet. Relative luminance 0.325; OKLCH L 71.0% C 0.199 H 310.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C877FC |
|---|---|
| RGB | rgb(200, 119, 252) |
| HSL | hsl(277, 96%, 73%) |
| HSV | hsv(277, 53%, 99%) |
| CMYK | cmyk(20.6%, 52.8%, 0%, 1.2%) |
| CIE-LAB | lab(63.76, 54.35, -54.15) |
| CIE-LCH | lch(63.76, 76.72, 315.11°) |
| OKLab | oklab(71.04% 0.1291 -0.1517) |
| OKLCH | oklch(71.04% 0.199 310.4) |
| XYZ | xyz(47.9837, 32.5022, 95.8224) |
| Luminance | 0.3250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.59
Easter Purple
#C071FE
ΔE00 2.15
Light Urple
#B36FF6
ΔE00 4.25
Bright Lavender
#C760FF
ΔE00 4.66
Bright Lilac
#C95EFB
ΔE00 4.95
Liliac
#C48EFD
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C877FC #ABFC77
analogous
#8577FC #C877FC #FC77EE
triadic
#C877FC #FCC877 #77FCC8
tetradic
#C877FC #FC8577 #ABFC77 #77EEFC
square
#C877FC #FC8577 #ABFC77 #77EEFC
split-complementary
#C877FC #EEFC77 #77FC85
monochromatic
#9605F3 #B03BFB #C877FC #E0B3FD #F3E1FE
Accessibility & contrast
On white
2.80
#C877FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#C877FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C877FC
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C877FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C877FC | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6C9CF9
Tritanopia (blue-blind)
#C28EAF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c877fc; /* rgb */ color: rgb(200, 119, 252); /* oklch */ color: oklch(71.0% 0.199 310.4);
Tailwind
colors: {
custom: {
50: '#dba1fe',
500: '#c877fc',
950: '#000000',
},
}SCSS
$custom: #c877fc; $custom-light: #dba1fe; $custom-dark: #000000;
JSON
{
"hex": "#c877fc",
"rgb": {
"r": 200,
"g": 119,
"b": 252
},
"hsl": {
"h": 276.541,
"s": 95.683,
"l": 72.745
},
"oklch": {
"l": 0.71036,
"c": 0.19922,
"h": 310.4
},
"luminance": 0.32501
}Semantic roles & 50–950 ramp
primary
#C877FC
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86