#AA2A9A#AA2A9A
#AA2A9A is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.202 H 333.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2A9A |
|---|---|
| RGB | rgb(170, 42, 154) |
| HSL | hsl(308, 60%, 42%) |
| HSV | hsv(308, 75%, 67%) |
| CMYK | cmyk(0%, 75.3%, 9.4%, 33.3%) |
| CIE-LAB | lab(42.06, 62.40, -32.54) |
| CIE-LCH | lch(42.06, 70.38, 332.46°) |
| OKLab | oklab(52.72% 0.1809 -0.0892) |
| OKLCH | oklch(52.72% 0.202 333.7) |
| XYZ | xyz(23.2385, 12.5371, 31.7616) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.80
Warm Purple
#952E8F
ΔE00 3.97
Medium Purple
#9E43A2
ΔE00 4.39
Barney Purple
#A00498
ΔE00 4.48
Barney
#AC1DB8
ΔE00 5.34
Purply
#983FB2
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2A9A #2AAA3A
analogous
#7A2AAA #AA2A9A #AA2A5A
triadic
#AA2A9A #9AAA2A #2A9AAA
tetradic
#AA2A9A #AA7A2A #2AAA3A #2A5AAA
square
#AA2A9A #AA7A2A #2AAA3A #2A5AAA
split-complementary
#AA2A9A #5AAA2A #2AAA7A
monochromatic
#481241 #791E6E #AA2A9A #D041BE #DC72CF
Accessibility & contrast
On white
5.99
#AA2A9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#AA2A9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2A9A
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2A9A | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#B23760
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #aa2a9a; /* rgb */ color: rgb(170, 42, 154); /* oklch */ color: oklch(52.7% 0.202 333.7);
Tailwind
colors: {
custom: {
50: '#c771b8',
500: '#aa2a9a',
950: '#000000',
},
}SCSS
$custom: #aa2a9a; $custom-light: #c771b8; $custom-dark: #000000;
JSON
{
"hex": "#aa2a9a",
"rgb": {
"r": 170,
"g": 42,
"b": 154
},
"hsl": {
"h": 307.5,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.52721,
"c": 0.20167,
"h": 333.7
},
"luminance": 0.12535
}Semantic roles & 50–950 ramp
primary
#AA2A9A
secondary
#6CC377
accent
#E45844
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80