#AA20A5#AA20A5

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

Color values

HEX#AA20A5
RGBrgb(170, 32, 165)
HSLhsl(302, 68%, 40%)
HSVhsv(302, 81%, 67%)
CMYKcmyk(0%, 81.2%, 2.9%, 33.3%)
CIE-LABlab(41.69, 66.88, -39.74)
CIE-LCHlch(41.69, 77.80, 329.28°)
OKLaboklab(52.65% 0.1892 -0.11)
OKLCHoklch(52.65% 0.219 329.8)
XYZxyz(23.8855, 12.2976, 36.7057)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A5 #20AA25
analogous
#6A20AA #AA20A5 #AA2060
triadic
#AA20A5 #A5AA20 #20A5AA
tetradic
#AA20A5 #AA6A20 #20AA25 #2060AA
square
#AA20A5 #AA6A20 #20AA25 #2060AA
split-complementary
#AA20A5 #60AA20 #20AA6A
monochromatic
#430D41 #761673 #AA20A5 #D82FD2 #E263DD

Accessibility & contrast

On white

6.07
#AA20A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA20A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20A5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A5#FFFFFF#000000##FFFFFF
##AA20A51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#B03664
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa20a5;
/* rgb */ color: rgb(170, 32, 165);
/* oklch */ color: oklch(52.6% 0.219 329.8);
Tailwind
colors: {
  custom: {
    50: '#c76ec0',
    500: '#aa20a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a5;
$custom-light: #c76ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a5",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 302.174,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.21879,
    "h": 329.8
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#AA20A5
secondary
#5FC763
accent
#EB433D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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