#C77DF2#C77DF2
#C77DF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.3% C 0.179 H 311.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C77DF2 |
|---|---|
| RGB | rgb(199, 125, 242) |
| HSL | hsl(278, 82%, 72%) |
| HSV | hsv(278, 48%, 95%) |
| CMYK | cmyk(17.8%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(64.34, 48.85, -47.73) |
| CIE-LCH | lch(64.34, 68.29, 315.66°) |
| OKLab | oklab(71.28% 0.1191 -0.133) |
| OKLCH | oklch(71.28% 0.179 311.8) |
| XYZ | xyz(46.9110, 33.2211, 87.9283) |
| Luminance | 0.3322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.41
Easter Purple
#C071FE
ΔE00 3.90
Liliac
#C48EFD
ΔE00 4.46
Light Urple
#B36FF6
ΔE00 5.37
Bright Lavender
#C760FF
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C77DF2 #A8F27D
analogous
#8D7DF2 #C77DF2 #F27DE2
triadic
#C77DF2 #F2C77D #7DF2C7
tetradic
#C77DF2 #F28D7D #A8F27D #7DE2F2
square
#C77DF2 #F28D7D #A8F27D #7DE2F2
split-complementary
#C77DF2 #E2F27D #7DF28D
monochromatic
#9516DE #AF45EC #C77DF2 #DFB5F8 #F3E3FC
Accessibility & contrast
On white
2.75
#C77DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#C77DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C77DF2
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C77DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C77DF2 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#C290AC
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c77df2; /* rgb */ color: rgb(199, 125, 242); /* oklch */ color: oklch(71.3% 0.179 311.8);
Tailwind
colors: {
custom: {
50: '#daa4f7',
500: '#c77df2',
950: '#000000',
},
}SCSS
$custom: #c77df2; $custom-light: #daa4f7; $custom-dark: #000000;
JSON
{
"hex": "#c77df2",
"rgb": {
"r": 199,
"g": 125,
"b": 242
},
"hsl": {
"h": 277.949,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.7128,
"c": 0.17859,
"h": 311.8
},
"luminance": 0.3322
}Semantic roles & 50–950 ramp
primary
#C77DF2
secondary
#E2F4D7
accent
#DE0756
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85