#C77AFE#C77AFE
#C77AFE is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.197 H 309.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C77AFE |
|---|---|
| RGB | rgb(199, 122, 254) |
| HSL | hsl(275, 99%, 74%) |
| HSV | hsv(275, 52%, 100%) |
| CMYK | cmyk(21.7%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(64.34, 52.99, -54.33) |
| CIE-LCH | lch(64.34, 75.90, 314.28°) |
| OKLab | oklab(71.47% 0.1242 -0.1523) |
| OKLCH | oklch(71.47% 0.197 309.2) |
| XYZ | xyz(48.3987, 33.2177, 97.6087) |
| Luminance | 0.3322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.72
Easter Purple
#C071FE
ΔE00 2.45
Light Urple
#B36FF6
ΔE00 4.45
Liliac
#C48EFD
ΔE00 4.76
Bright Lavender
#C760FF
ΔE00 5.26
Bright Lilac
#C95EFB
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C77AFE #B1FE7A
analogous
#857AFE #C77AFE #FE7AF3
triadic
#C77AFE #FEC77A #7AFEC7
tetradic
#C77AFE #FE857A #B1FE7A #7AF3FE
square
#C77AFE #FE857A #B1FE7A #7AF3FE
split-complementary
#C77AFE #F3FE7A #7AFE85
monochromatic
#9402FC #AD3DFE #C77AFE #E1B7FE #F2E1FF
Accessibility & contrast
On white
2.75
#C77AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#C77AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C77AFE
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C77AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C77AFE | 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)
#5499FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C091B1
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c77afe; /* rgb */ color: rgb(199, 122, 254); /* oklch */ color: oklch(71.5% 0.197 309.2);
Tailwind
colors: {
custom: {
50: '#dba3ff',
500: '#c77afe',
950: '#000000',
},
}SCSS
$custom: #c77afe; $custom-light: #dba3ff; $custom-dark: #000000;
JSON
{
"hex": "#c77afe",
"rgb": {
"r": 199,
"g": 122,
"b": 254
},
"hsl": {
"h": 275,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.71473,
"c": 0.19652,
"h": 309.2
},
"luminance": 0.33217
}Semantic roles & 50–950 ramp
primary
#C77AFE
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86