#AA4AB1#AA4AB1
#AA4AB1 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.179 H 324.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AA4AB1 |
|---|---|
| RGB | rgb(170, 74, 177) |
| HSL | hsl(296, 41%, 49%) |
| HSV | hsv(296, 58%, 69%) |
| CMYK | cmyk(4%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(47.78, 53.63, -37.20) |
| CIE-LCH | lch(47.78, 65.27, 325.25°) |
| OKLab | oklab(57.25% 0.1464 -0.1029) |
| OKLCH | oklch(57.25% 0.179 324.9) |
| XYZ | xyz(26.9615, 16.6194, 43.3742) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.59
Medium Purple
#9E43A2
ΔE00 3.72
Purply
#983FB2
ΔE00 5.13
Purpley Pink
#C83CB9
ΔE00 5.28
Pinky Purple
#C94CBE
ΔE00 6.38
Amethyst
#9B5FC0
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA4AB1 #51B14A
analogous
#774AB1 #AA4AB1 #B14A85
triadic
#AA4AB1 #B1AA4A #4AB1AA
tetradic
#AA4AB1 #B1774A #51B14A #4A85B1
square
#AA4AB1 #B1774A #51B14A #4A85B1
split-complementary
#AA4AB1 #85B14A #4AB177
monochromatic
#57265B #813886 #AA4AB1 #BF74C5 #D39FD7
Accessibility & contrast
On white
4.86
#AA4AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#AA4AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA4AB1
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA4AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA4AB1 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#5C75AE
Tritanopia (blue-blind)
#AE5877
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #aa4ab1; /* rgb */ color: rgb(170, 74, 177); /* oklch */ color: oklch(57.2% 0.179 324.9);
Tailwind
colors: {
custom: {
50: '#c682c9',
500: '#aa4ab1',
950: '#000000',
},
}SCSS
$custom: #aa4ab1; $custom-light: #c682c9; $custom-dark: #000000;
JSON
{
"hex": "#aa4ab1",
"rgb": {
"r": 170,
"g": 74,
"b": 177
},
"hsl": {
"h": 295.922,
"s": 41.036,
"l": 49.216
},
"oklch": {
"l": 0.57246,
"c": 0.17892,
"h": 324.9
},
"luminance": 0.16618
}Semantic roles & 50–950 ramp
primary
#AA4AB1
secondary
#97C393
accent
#D1575F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82