#C77EF2#C77EF2
#C77EF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.177 H 311.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C77EF2 |
|---|---|
| RGB | rgb(199, 126, 242) |
| HSL | hsl(278, 82%, 72%) |
| HSV | hsv(278, 48%, 95%) |
| CMYK | cmyk(17.8%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(64.54, 48.32, -47.41) |
| CIE-LCH | lch(64.54, 67.69, 315.55°) |
| OKLab | oklab(71.43% 0.1178 -0.1321) |
| OKLCH | oklch(71.43% 0.177 311.7) |
| XYZ | xyz(47.0382, 33.4756, 87.9707) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.57
Easter Purple
#C071FE
ΔE00 4.07
Liliac
#C48EFD
ΔE00 4.25
Light Urple
#B36FF6
ΔE00 5.53
Bright Lavender
#C760FF
ΔE00 6.56
Bright Lilac
#C95EFB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C77EF2 #A9F27E
analogous
#8D7EF2 #C77EF2 #F27EE3
triadic
#C77EF2 #F2C77E #7EF2C7
tetradic
#C77EF2 #F28D7E #A9F27E #7EE3F2
square
#C77EF2 #F28D7E #A9F27E #7EE3F2
split-complementary
#C77EF2 #E3F27E #7EF28D
monochromatic
#9516DF #AF46EC #C77EF2 #DFB6F8 #F3E3FC
Accessibility & contrast
On white
2.73
#C77EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#C77EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C77EF2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C77EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C77EF2 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C290AD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c77ef2; /* rgb */ color: rgb(199, 126, 242); /* oklch */ color: oklch(71.4% 0.177 311.7);
Tailwind
colors: {
custom: {
50: '#daa5f7',
500: '#c77ef2',
950: '#000000',
},
}SCSS
$custom: #c77ef2; $custom-light: #daa5f7; $custom-dark: #000000;
JSON
{
"hex": "#c77ef2",
"rgb": {
"r": 199,
"g": 126,
"b": 242
},
"hsl": {
"h": 277.759,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.71432,
"c": 0.177,
"h": 311.7
},
"luminance": 0.33475
}Semantic roles & 50–950 ramp
primary
#C77EF2
secondary
#E2F4D7
accent
#DE0757
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85