#AA2B9A#AA2B9A
#AA2B9A is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.201 H 333.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2B9A |
|---|---|
| RGB | rgb(170, 43, 154) |
| HSL | hsl(308, 60%, 42%) |
| HSV | hsv(308, 75%, 67%) |
| CMYK | cmyk(0%, 74.7%, 9.4%, 33.3%) |
| CIE-LAB | lab(42.17, 62.09, -32.37) |
| CIE-LCH | lch(42.17, 70.02, 332.47°) |
| OKLab | oklab(52.8% 0.1799 -0.0887) |
| OKLCH | oklch(52.8% 0.201 333.8) |
| XYZ | xyz(23.2744, 12.6089, 31.7736) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.69
Warm Purple
#952E8F
ΔE00 4.02
Medium Purple
#9E43A2
ΔE00 4.30
Barney Purple
#A00498
ΔE00 4.61
Barney
#AC1DB8
ΔE00 5.38
Purply
#983FB2
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2B9A #2BAA3B
analogous
#7B2BAA #AA2B9A #AA2B5B
triadic
#AA2B9A #9AAA2B #2B9AAA
tetradic
#AA2B9A #AA7B2B #2BAA3B #2B5BAA
square
#AA2B9A #AA7B2B #2BAA3B #2B5BAA
split-complementary
#AA2B9A #5BAA2B #2BAA7B
monochromatic
#481242 #791F6E #AA2B9A #CF43BE #DC74CF
Accessibility & contrast
On white
5.96
#AA2B9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#AA2B9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2B9A
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2B9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2B9A | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#B23760
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #aa2b9a; /* rgb */ color: rgb(170, 43, 154); /* oklch */ color: oklch(52.8% 0.201 333.8);
Tailwind
colors: {
custom: {
50: '#c772b8',
500: '#aa2b9a',
950: '#000000',
},
}SCSS
$custom: #aa2b9a; $custom-light: #c772b8; $custom-dark: #000000;
JSON
{
"hex": "#aa2b9a",
"rgb": {
"r": 170,
"g": 43,
"b": 154
},
"hsl": {
"h": 307.559,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.528,
"c": 0.20062,
"h": 333.8
},
"luminance": 0.12607
}Semantic roles & 50–950 ramp
primary
#AA2B9A
secondary
#6EC378
accent
#E35945
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80