#AA2FAB#AA2FAB
#AA2FAB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.209 H 327.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2FAB |
|---|---|
| RGB | rgb(170, 47, 171) |
| HSL | hsl(300, 57%, 43%) |
| HSV | hsv(300, 73%, 67%) |
| CMYK | cmyk(0.6%, 72.5%, 0%, 32.9%) |
| CIE-LAB | lab(43.54, 63.49, -40.37) |
| CIE-LCH | lch(43.54, 75.24, 327.55°) |
| OKLab | oklab(54.08% 0.1767 -0.1119) |
| OKLCH | oklch(54.08% 0.209 327.7) |
| XYZ | xyz(24.9444, 13.5211, 39.8162) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.76
Medium Purple
#9E43A2
ΔE00 3.52
Ugly Purple
#A442A0
ΔE00 3.56
Purply
#983FB2
ΔE00 4.18
Barney Purple
#A00498
ΔE00 5.56
Warm Purple
#952E8F
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2FAB #30AB2F
analogous
#6C2FAB #AA2FAB #AB2F6E
triadic
#AA2FAB #ABAA2F #2FABAA
tetradic
#AA2FAB #AB6C2F #30AB2F #2F6EAB
square
#AA2FAB #AB6C2F #30AB2F #2F6EAB
split-complementary
#AA2FAB #6EAB2F #2FAB6C
monochromatic
#4B154B #7A227B #AA2FAB #CC4ACD #DA7ADA
Accessibility & contrast
On white
5.67
#AA2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#AA2FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2FAB
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2FAB | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155DAE
Deuteranopia (green-blind)
#506CA8
Tritanopia (blue-blind)
#AF426A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #aa2fab; /* rgb */ color: rgb(170, 47, 171); /* oklch */ color: oklch(54.1% 0.209 327.7);
Tailwind
colors: {
custom: {
50: '#c774c4',
500: '#aa2fab',
950: '#000000',
},
}SCSS
$custom: #aa2fab; $custom-light: #c774c4; $custom-dark: #000000;
JSON
{
"hex": "#aa2fab",
"rgb": {
"r": 170,
"g": 47,
"b": 171
},
"hsl": {
"h": 299.516,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.54078,
"c": 0.20911,
"h": 327.7
},
"luminance": 0.13519
}Semantic roles & 50–950 ramp
primary
#AA2FAB
secondary
#74C373
accent
#E04849
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82