#AA2F99#AA2F99
#AA2F99 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.195 H 334.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2F99 |
|---|---|
| RGB | rgb(170, 47, 153) |
| HSL | hsl(308, 57%, 43%) |
| HSV | hsv(308, 72%, 67%) |
| CMYK | cmyk(0%, 72.4%, 10%, 33.3%) |
| CIE-LAB | lab(42.58, 60.61, -31.11) |
| CIE-LCH | lch(42.58, 68.13, 332.83°) |
| OKLab | oklab(53.08% 0.176 -0.0851) |
| OKLCH | oklch(53.08% 0.195 334.2) |
| XYZ | xyz(23.3441, 12.8810, 31.3876) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.31
Medium Purple
#9E43A2
ΔE00 4.08
Warm Purple
#952E8F
ΔE00 4.23
Barney Purple
#A00498
ΔE00 5.17
Barney
#AC1DB8
ΔE00 5.78
Purply
#983FB2
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2F99 #2FAA40
analogous
#7E2FAA #AA2F99 #AA2F5B
triadic
#AA2F99 #99AA2F #2F99AA
tetradic
#AA2F99 #AA7E2F #2FAA40 #2F5BAA
square
#AA2F99 #AA7E2F #2FAA40 #2F5BAA
split-complementary
#AA2F99 #5BAA2F #2FAA7E
monochromatic
#4A1443 #7A226E #AA2F99 #CD49BB #DA79CD
Accessibility & contrast
On white
5.87
#AA2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#AA2F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2F99
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2F99 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B23A61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #aa2f99; /* rgb */ color: rgb(170, 47, 153); /* oklch */ color: oklch(53.1% 0.195 334.2);
Tailwind
colors: {
custom: {
50: '#c773b7',
500: '#aa2f99',
950: '#000000',
},
}SCSS
$custom: #aa2f99; $custom-light: #c773b7; $custom-dark: #000000;
JSON
{
"hex": "#aa2f99",
"rgb": {
"r": 170,
"g": 47,
"b": 153
},
"hsl": {
"h": 308.293,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.53083,
"c": 0.19548,
"h": 334.2
},
"luminance": 0.12879
}Semantic roles & 50–950 ramp
primary
#AA2F99
secondary
#72C27E
accent
#E05D48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80