#AA20A2#AA20A2

#AA20A2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.217 H 330.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA20A2
RGBrgb(170, 32, 162)
HSLhsl(303, 68%, 40%)
HSVhsv(303, 81%, 67%)
CMYKcmyk(0%, 81.2%, 4.7%, 33.3%)
CIE-LABlab(41.52, 66.42, -38.21)
CIE-LCHlch(41.52, 76.63, 330.09°)
OKLaboklab(52.47% 0.1892 -0.1055)
OKLCHoklch(52.47% 0.217 330.9)
XYZxyz(23.6156, 12.1897, 35.2845)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A2 #20AA28
analogous
#6D20AA #AA20A2 #AA205D
triadic
#AA20A2 #A2AA20 #20A2AA
tetradic
#AA20A2 #AA6D20 #20AA28 #205DAA
square
#AA20A2 #AA6D20 #20AA28 #205DAA
split-complementary
#AA20A2 #5DAA20 #20AA6D
monochromatic
#430D40 #761671 #AA20A2 #D82FCE #E263DA

Accessibility & contrast

On white

6.11
#AA20A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA20A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20A2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A2#FFFFFF#000000##FFFFFF
##AA20A21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#4F689F
Tritanopia (blue-blind)
#B13562
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa20a2;
/* rgb */ color: rgb(170, 32, 162);
/* oklch */ color: oklch(52.5% 0.217 330.9);
Tailwind
colors: {
  custom: {
    50: '#c76ebe',
    500: '#aa20a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a2;
$custom-light: #c76ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a2",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 303.478,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.21664,
    "h": 330.9
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#AA20A2
secondary
#5FC765
accent
#EB473D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA20A2

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

Preview Lab → · Contrast checker → · Palette generator →

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