#A77DF2#A77DF2
#A77DF2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.170 H 298.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A77DF2 |
|---|---|
| RGB | rgb(167, 125, 242) |
| HSL | hsl(262, 82%, 72%) |
| HSV | hsv(262, 48%, 95%) |
| CMYK | cmyk(31%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(61.04, 40.41, -53.17) |
| CIE-LCH | lch(61.04, 66.78, 307.24°) |
| OKLab | oklab(68.07% 0.0807 -0.1497) |
| OKLCH | oklch(68.07% 0.17 298.3) |
| XYZ | xyz(39.2931, 29.2931, 87.5712) |
| Luminance | 0.2929 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.17
Light Purple
#BF77F6
ΔE00 4.78
Easter Purple
#C071FE
ΔE00 5.34
Mediumpurple
#9370DB
ΔE00 5.63
Periwinkle (survey)
#8E82FE
ΔE00 5.99
Liliac
#C48EFD
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A77DF2 #C8F27D
analogous
#7D8EF2 #A77DF2 #E17DF2
triadic
#A77DF2 #F2A77D #7DF2A7
tetradic
#A77DF2 #F27D8E #C8F27D #7DF2E1
square
#A77DF2 #F27D8E #C8F27D #7DF2E1
split-complementary
#A77DF2 #F2E17D #8EF27D
monochromatic
#5E16DE #8145EC #A77DF2 #CDB5F8 #ECE3FC
Accessibility & contrast
On white
3.06
#A77DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#A77DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A77DF2
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A77DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A77DF2 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#9793AC
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a77df2; /* rgb */ color: rgb(167, 125, 242); /* oklch */ color: oklch(68.1% 0.170 298.3);
Tailwind
colors: {
custom: {
50: '#c4a3f7',
500: '#a77df2',
950: '#000000',
},
}SCSS
$custom: #a77df2; $custom-light: #c4a3f7; $custom-dark: #000000;
JSON
{
"hex": "#a77df2",
"rgb": {
"r": 167,
"g": 125,
"b": 242
},
"hsl": {
"h": 261.538,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.6807,
"c": 0.17008,
"h": 298.3
},
"luminance": 0.29294
}Semantic roles & 50–950 ramp
primary
#A77DF2
secondary
#EAF4D7
accent
#DE0791
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85