#A77FF2#A77FF2
#A77FF2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.167 H 297.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A77FF2 |
|---|---|
| RGB | rgb(167, 127, 242) |
| HSL | hsl(261, 82%, 72%) |
| HSV | hsv(261, 48%, 95%) |
| CMYK | cmyk(31%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.49, 39.29, -52.46) |
| CIE-LCH | lch(61.49, 65.54, 306.83°) |
| OKLab | oklab(68.4% 0.0781 -0.1476) |
| OKLCH | oklch(68.4% 0.167 297.9) |
| XYZ | xyz(39.5489, 29.8046, 87.6564) |
| Luminance | 0.2980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.64
Light Purple
#BF77F6
ΔE00 5.01
Easter Purple
#C071FE
ΔE00 5.67
Periwinkle (survey)
#8E82FE
ΔE00 5.83
Mediumpurple
#9370DB
ΔE00 5.94
Liliac
#C48EFD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A77FF2 #CAF27F
analogous
#7F90F2 #A77FF2 #E17FF2
triadic
#A77FF2 #F2A77F #7FF2A7
tetradic
#A77FF2 #F27F90 #CAF27F #7FF2E1
square
#A77FF2 #F27F90 #CAF27F #7FF2E1
split-complementary
#A77FF2 #F2E17F #90F27F
monochromatic
#5D17E0 #8147EC #A77FF2 #CDB7F8 #ECE3FC
Accessibility & contrast
On white
3.02
#A77FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#A77FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A77FF2
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A77FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A77FF2 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#9794AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a77ff2; /* rgb */ color: rgb(167, 127, 242); /* oklch */ color: oklch(68.4% 0.167 297.9);
Tailwind
colors: {
custom: {
50: '#c4a5f7',
500: '#a77ff2',
950: '#000000',
},
}SCSS
$custom: #a77ff2; $custom-light: #c4a5f7; $custom-dark: #000000;
JSON
{
"hex": "#a77ff2",
"rgb": {
"r": 167,
"g": 127,
"b": 242
},
"hsl": {
"h": 260.87,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.68403,
"c": 0.16703,
"h": 297.9
},
"luminance": 0.29805
}Semantic roles & 50–950 ramp
primary
#A77FF2
secondary
#EAF4D7
accent
#DE0893
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85