#AA20A7#AA20A7

#AA20A7 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.220 H 329.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA20A7
RGBrgb(170, 32, 167)
HSLhsl(301, 68%, 40%)
HSVhsv(301, 81%, 67%)
CMYKcmyk(0%, 81.2%, 1.8%, 33.3%)
CIE-LABlab(41.80, 67.19, -40.75)
CIE-LCHlch(41.80, 78.59, 328.77°)
OKLaboklab(52.76% 0.1891 -0.1129)
OKLCHoklch(52.76% 0.22 329.2)
XYZxyz(24.0689, 12.3710, 37.6719)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A7 #20AA23
analogous
#6820AA #AA20A7 #AA2062
triadic
#AA20A7 #A7AA20 #20A7AA
tetradic
#AA20A7 #AA6820 #20AA23 #2062AA
square
#AA20A7 #AA6820 #20AA23 #2062AA
split-complementary
#AA20A7 #62AA20 #20AA68
monochromatic
#430D42 #761674 #AA20A7 #D82FD4 #E263DF

Accessibility & contrast

On white

6.05
#AA20A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AA20A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20A7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A7#FFFFFF#000000##FFFFFF
##AA20A71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4C69A4
Tritanopia (blue-blind)
#B03865
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa20a7;
/* rgb */ color: rgb(170, 32, 167);
/* oklch */ color: oklch(52.8% 0.220 329.2);
Tailwind
colors: {
  custom: {
    50: '#c76ec2',
    500: '#aa20a7',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a7;
$custom-light: #c76ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a7",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 301.304,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.22022,
    "h": 329.2
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#AA20A7
secondary
#5FC761
accent
#EB403D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AA20A7

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

Preview Lab → · Contrast checker → · Palette generator →

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