#AA20A1#AA20A1

#AA20A1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.216 H 331.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA20A1
RGBrgb(170, 32, 161)
HSLhsl(304, 68%, 40%)
HSVhsv(304, 81%, 67%)
CMYKcmyk(0%, 81.2%, 5.3%, 33.3%)
CIE-LABlab(41.46, 66.27, -37.70)
CIE-LCHlch(41.46, 76.24, 330.37°)
OKLaboklab(52.42% 0.1892 -0.104)
OKLCHoklch(52.42% 0.216 331.2)
XYZxyz(23.5271, 12.1543, 34.8182)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A1 #20AA29
analogous
#6E20AA #AA20A1 #AA205C
triadic
#AA20A1 #A1AA20 #20A1AA
tetradic
#AA20A1 #AA6E20 #20AA29 #205CAA
square
#AA20A1 #AA6E20 #20AA29 #205CAA
split-complementary
#AA20A1 #5CAA20 #20AA6E
monochromatic
#430D3F #761670 #AA20A1 #D82FCD #E263D9

Accessibility & contrast

On white

6.12
#AA20A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA20A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20A1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A1#FFFFFF#000000##FFFFFF
##AA20A11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#B13461
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa20a1;
/* rgb */ color: rgb(170, 32, 161);
/* oklch */ color: oklch(52.4% 0.216 331.2);
Tailwind
colors: {
  custom: {
    50: '#c76ebd',
    500: '#aa20a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a1;
$custom-light: #c76ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a1",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 303.913,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.21593,
    "h": 331.2
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#AA20A1
secondary
#5FC766
accent
#EB483D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA20A1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA20A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva