#AA57E2#AA57E2
#AA57E2 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.208 H 309.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AA57E2 |
|---|---|
| RGB | rgb(170, 87, 226) |
| HSL | hsl(276, 71%, 61%) |
| HSV | hsv(276, 62%, 89%) |
| CMYK | cmyk(24.8%, 61.5%, 0%, 11.4%) |
| CIE-LAB | lab(52.79, 57.42, -57.39) |
| CIE-LCH | lch(52.79, 81.18, 315.02°) |
| OKLab | oklab(61.78% 0.1314 -0.1619) |
| OKLCH | oklch(61.78% 0.209 309.1) |
| XYZ | xyz(33.7105, 20.8540, 74.1861) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.74
Lighter Purple
#A55AF4
ΔE00 3.05
Mediumorchid
#BA55D3
ΔE00 4.36
Amethyst
#9B5FC0
ΔE00 5.76
Bright Lilac
#C95EFB
ΔE00 6.58
Light Urple
#B36FF6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA57E2 #8FE257
analogous
#6557E2 #AA57E2 #E257D5
triadic
#AA57E2 #E2AA57 #57E2AA
tetradic
#AA57E2 #E26557 #8FE257 #57D5E2
square
#AA57E2 #E26557 #8FE257 #57D5E2
split-complementary
#AA57E2 #D5E257 #57E265
monochromatic
#6C1CA3 #8F25D7 #AA57E2 #C48BEB #DFBFF4
Accessibility & contrast
On white
4.06
#AA57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#AA57E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA57E2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA57E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA57E2 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#117BE6
Deuteranopia (green-blind)
#437FDF
Tritanopia (blue-blind)
#A27295
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #aa57e2; /* rgb */ color: rgb(170, 87, 226); /* oklch */ color: oklch(61.8% 0.208 309.1);
Tailwind
colors: {
custom: {
50: '#c78bec',
500: '#aa57e2',
950: '#000000',
},
}SCSS
$custom: #aa57e2; $custom-light: #c78bec; $custom-dark: #000000;
JSON
{
"hex": "#aa57e2",
"rgb": {
"r": 170,
"g": 87,
"b": 226
},
"hsl": {
"h": 275.827,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.61776,
"c": 0.2085,
"h": 309.1
},
"luminance": 0.20853
}Semantic roles & 50–950 ramp
primary
#AA57E2
secondary
#C5E4B0
accent
#D31360
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84