#AA2A9E#AA2A9E
#AA2A9E is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.205 H 332.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2A9E |
|---|---|
| RGB | rgb(170, 42, 158) |
| HSL | hsl(306, 60%, 42%) |
| HSV | hsv(306, 75%, 67%) |
| CMYK | cmyk(0%, 75.3%, 7.1%, 33.3%) |
| CIE-LAB | lab(42.27, 63.02, -34.62) |
| CIE-LCH | lch(42.27, 71.90, 331.22°) |
| OKLab | oklab(52.94% 0.1811 -0.0952) |
| OKLCH | oklch(52.94% 0.205 332.3) |
| XYZ | xyz(23.5772, 12.6726, 33.5454) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.65
Medium Purple
#9E43A2
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.14
Barney Purple
#A00498
ΔE00 4.41
Barney
#AC1DB8
ΔE00 4.60
Purply
#983FB2
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2A9E #2AAA36
analogous
#762AAA #AA2A9E #AA2A5E
triadic
#AA2A9E #9EAA2A #2A9EAA
tetradic
#AA2A9E #AA762A #2AAA36 #2A5EAA
square
#AA2A9E #AA762A #2AAA36 #2A5EAA
split-complementary
#AA2A9E #5EAA2A #2AAA76
monochromatic
#481243 #791E70 #AA2A9E #D041C3 #DC72D2
Accessibility & contrast
On white
5.94
#AA2A9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#AA2A9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2A9E
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2A9E | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#B13962
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #aa2a9e; /* rgb */ color: rgb(170, 42, 158); /* oklch */ color: oklch(52.9% 0.205 332.3);
Tailwind
colors: {
custom: {
50: '#c772bb',
500: '#aa2a9e',
950: '#000000',
},
}SCSS
$custom: #aa2a9e; $custom-light: #c772bb; $custom-dark: #000000;
JSON
{
"hex": "#aa2a9e",
"rgb": {
"r": 170,
"g": 42,
"b": 158
},
"hsl": {
"h": 305.625,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.52938,
"c": 0.20458,
"h": 332.3
},
"luminance": 0.12671
}Semantic roles & 50–950 ramp
primary
#AA2A9E
secondary
#6CC374
accent
#E45344
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81