#A77EC2#A77EC2
#A77EC2 is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.8% C 0.108 H 311.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A77EC2 |
|---|---|
| RGB | rgb(167, 126, 194) |
| HSL | hsl(276, 36%, 63%) |
| HSV | hsv(276, 35%, 76%) |
| CMYK | cmyk(13.9%, 35.1%, 0%, 23.9%) |
| CIE-LAB | lab(59.00, 28.60, -29.48) |
| CIE-LCH | lch(59.00, 41.07, 314.13°) |
| OKLab | oklab(65.8% 0.0711 -0.0811) |
| OKLCH | oklch(65.8% 0.108 311.2) |
| XYZ | xyz(33.1331, 27.0327, 54.5009) |
| Luminance | 0.2703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 0.42
Soft Purple
#A66FB5
ΔE00 4.80
Pale Purple
#B790D4
ΔE00 5.63
Deep Lilac
#966EBD
ΔE00 5.96
Heather
#A484AC
ΔE00 6.70
Dark Lilac
#9C6DA5
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A77EC2 #99C27E
analogous
#857EC2 #A77EC2 #C27EBB
triadic
#A77EC2 #C2A77E #7EC2A7
tetradic
#A77EC2 #C2857E #99C27E #7EBBC2
square
#A77EC2 #C2857E #99C27E #7EBBC2
split-complementary
#A77EC2 #BBC27E #7EC285
monochromatic
#6A3F86 #8B54AE #A77EC2 #C3A8D6 #E0D1E9
Accessibility & contrast
On white
3.28
#A77EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#A77EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A77EC2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A77EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A77EC2 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#728CC5
Deuteranopia (green-blind)
#7B8FC0
Tritanopia (blue-blind)
#A48797
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a77ec2; /* rgb */ color: rgb(167, 126, 194); /* oklch */ color: oklch(65.8% 0.108 311.2);
Tailwind
colors: {
custom: {
50: '#c2a4d4',
500: '#a77ec2',
950: '#000000',
},
}SCSS
$custom: #a77ec2; $custom-light: #c2a4d4; $custom-dark: #000000;
JSON
{
"hex": "#a77ec2",
"rgb": {
"r": 167,
"g": 126,
"b": 194
},
"hsl": {
"h": 276.176,
"s": 35.789,
"l": 62.745
},
"oklch": {
"l": 0.65797,
"c": 0.1079,
"h": 311.2
},
"luminance": 0.27032
}Semantic roles & 50–950 ramp
primary
#A77EC2
secondary
#CBDAC2
accent
#AF3766
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F14
muted
#817F83