#AA20A4#AA20A4

#AA20A4 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.218 H 330.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA20A4
RGBrgb(170, 32, 164)
HSLhsl(303, 68%, 40%)
HSVhsv(303, 81%, 67%)
CMYKcmyk(0%, 81.2%, 3.5%, 33.3%)
CIE-LABlab(41.63, 66.73, -39.23)
CIE-LCHlch(41.63, 77.40, 329.55°)
OKLaboklab(52.59% 0.1892 -0.1085)
OKLCHoklch(52.59% 0.218 330.2)
XYZxyz(23.7948, 12.2613, 36.2282)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A4 #20AA26
analogous
#6B20AA #AA20A4 #AA205F
triadic
#AA20A4 #A4AA20 #20A4AA
tetradic
#AA20A4 #AA6B20 #20AA26 #205FAA
square
#AA20A4 #AA6B20 #20AA26 #205FAA
split-complementary
#AA20A4 #5FAA20 #20AA6B
monochromatic
#430D41 #761672 #AA20A4 #D82FD1 #E263DC

Accessibility & contrast

On white

6.08
#AA20A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA20A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20A4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A4#FFFFFF#000000##FFFFFF
##AA20A41.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#B13663
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa20a4;
/* rgb */ color: rgb(170, 32, 164);
/* oklch */ color: oklch(52.6% 0.218 330.2);
Tailwind
colors: {
  custom: {
    50: '#c76ebf',
    500: '#aa20a4',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a4;
$custom-light: #c76ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a4",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 302.609,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.21807,
    "h": 330.2
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#AA20A4
secondary
#5FC764
accent
#EB443D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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