#AA2A9B#AA2A9B
#AA2A9B is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.202 H 333.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2A9B |
|---|---|
| RGB | rgb(170, 42, 155) |
| HSL | hsl(307, 60%, 42%) |
| HSV | hsv(307, 75%, 67%) |
| CMYK | cmyk(0%, 75.3%, 8.8%, 33.3%) |
| CIE-LAB | lab(42.11, 62.56, -33.06) |
| CIE-LCH | lch(42.11, 70.76, 332.14°) |
| OKLab | oklab(52.77% 0.1809 -0.0907) |
| OKLCH | oklch(52.77% 0.202 333.4) |
| XYZ | xyz(23.3221, 12.5705, 32.2020) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.75
Warm Purple
#952E8F
ΔE00 4.00
Medium Purple
#9E43A2
ΔE00 4.30
Barney Purple
#A00498
ΔE00 4.45
Barney
#AC1DB8
ΔE00 5.15
Purply
#983FB2
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2A9B #2AAA39
analogous
#792AAA #AA2A9B #AA2A5B
triadic
#AA2A9B #9BAA2A #2A9BAA
tetradic
#AA2A9B #AA792A #2AAA39 #2A5BAA
square
#AA2A9B #AA792A #2AAA39 #2A5BAA
split-complementary
#AA2A9B #5BAA2A #2AAA79
monochromatic
#481242 #791E6E #AA2A9B #D041BF #DC72D0
Accessibility & contrast
On white
5.98
#AA2A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#AA2A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2A9B
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2A9B | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25589E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#B23760
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #aa2a9b; /* rgb */ color: rgb(170, 42, 155); /* oklch */ color: oklch(52.8% 0.202 333.4);
Tailwind
colors: {
custom: {
50: '#c771b9',
500: '#aa2a9b',
950: '#000000',
},
}SCSS
$custom: #aa2a9b; $custom-light: #c771b9; $custom-dark: #000000;
JSON
{
"hex": "#aa2a9b",
"rgb": {
"r": 170,
"g": 42,
"b": 155
},
"hsl": {
"h": 307.031,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.52774,
"c": 0.20239,
"h": 333.4
},
"luminance": 0.12569
}Semantic roles & 50–950 ramp
primary
#AA2A9B
secondary
#6CC377
accent
#E45744
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80