#AA1B9A#AA1B9A
#AA1B9A is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.215 H 333.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AA1B9A |
|---|---|
| RGB | rgb(170, 27, 154) |
| HSL | hsl(307, 73%, 39%) |
| HSV | hsv(307, 84%, 67%) |
| CMYK | cmyk(0%, 84.1%, 9.4%, 33.3%) |
| CIE-LAB | lab(40.68, 66.38, -34.72) |
| CIE-LCH | lch(40.68, 74.91, 332.39°) |
| OKLab | oklab(51.73% 0.1926 -0.0954) |
| OKLCH | oklch(51.73% 0.215 333.6) |
| XYZ | xyz(22.8025, 11.6651, 31.6162) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.03
Warm Purple
#952E8F
ΔE00 3.79
Barney
#AC1DB8
ΔE00 5.07
Ugly Purple
#A442A0
ΔE00 5.27
Medium Purple
#9E43A2
ΔE00 5.59
Purply
#983FB2
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA1B9A #1BAA2B
analogous
#721BAA #AA1B9A #AA1B52
triadic
#AA1B9A #9AAA1B #1B9AAA
tetradic
#AA1B9A #AA721B #1BAA2B #1B52AA
square
#AA1B9A #AA721B #1BAA2B #1B52AA
split-complementary
#AA1B9A #52AA1B #1BAA72
monochromatic
#400A3A #75136A #AA1B9A #DC26C8 #E55BD5
Accessibility & contrast
On white
6.30
#AA1B9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AA1B9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA1B9A
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA1B9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA1B9A | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#B22D5C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #aa1b9a; /* rgb */ color: rgb(170, 27, 154); /* oklch */ color: oklch(51.7% 0.215 333.6);
Tailwind
colors: {
custom: {
50: '#c76cb8',
500: '#aa1b9a',
950: '#000000',
},
}SCSS
$custom: #aa1b9a; $custom-light: #c76cb8; $custom-dark: #000000;
JSON
{
"hex": "#aa1b9a",
"rgb": {
"r": 170,
"g": 27,
"b": 154
},
"hsl": {
"h": 306.713,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.51734,
"c": 0.21488,
"h": 333.6
},
"luminance": 0.11663
}Semantic roles & 50–950 ramp
primary
#AA1B9A
secondary
#58C965
accent
#EF4D39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80