#AA20A9#AA20A9

#AA20A9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.222 H 328.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA20A9
RGBrgb(170, 32, 169)
HSLhsl(300, 68%, 40%)
HSVhsv(300, 81%, 67%)
CMYKcmyk(0%, 81.2%, 0.6%, 33.3%)
CIE-LABlab(41.92, 67.51, -41.76)
CIE-LCHlch(41.92, 79.38, 328.26°)
OKLaboklab(52.89% 0.189 -0.1158)
OKLCHoklch(52.89% 0.222 328.5)
XYZxyz(24.2553, 12.4455, 38.6532)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A9 #20AA21
analogous
#6620AA #AA20A9 #AA2064
triadic
#AA20A9 #A9AA20 #20A9AA
tetradic
#AA20A9 #AA6620 #20AA21 #2064AA
square
#AA20A9 #AA6620 #20AA21 #2064AA
split-complementary
#AA20A9 #64AA20 #20AA66
monochromatic
#430D43 #761676 #AA20A9 #D82FD7 #E263E1

Accessibility & contrast

On white

6.02
#AA20A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA20A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20A9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A9#FFFFFF#000000##FFFFFF
##AA20A91.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#B03966
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa20a9;
/* rgb */ color: rgb(170, 32, 169);
/* oklch */ color: oklch(52.9% 0.222 328.5);
Tailwind
colors: {
  custom: {
    50: '#c76ec3',
    500: '#aa20a9',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a9;
$custom-light: #c76ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a9",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 300.435,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52885,
    "c": 0.22168,
    "h": 328.5
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#AA20A9
secondary
#5FC760
accent
#EB3E3D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AA20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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