#AA20A3#AA20A3

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

Color values

HEX#AA20A3
RGBrgb(170, 32, 163)
HSLhsl(303, 68%, 40%)
HSVhsv(303, 81%, 67%)
CMYKcmyk(0%, 81.2%, 4.1%, 33.3%)
CIE-LABlab(41.57, 66.57, -38.72)
CIE-LCHlch(41.57, 77.01, 329.82°)
OKLaboklab(52.53% 0.1892 -0.107)
OKLCHoklch(52.53% 0.217 330.5)
XYZxyz(23.7049, 12.2254, 35.7545)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A3 #20AA27
analogous
#6C20AA #AA20A3 #AA205E
triadic
#AA20A3 #A3AA20 #20A3AA
tetradic
#AA20A3 #AA6C20 #20AA27 #205EAA
square
#AA20A3 #AA6C20 #20AA27 #205EAA
split-complementary
#AA20A3 #5EAA20 #20AA6C
monochromatic
#430D40 #761672 #AA20A3 #D82FCF #E263DB

Accessibility & contrast

On white

6.10
#AA20A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA20A3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A3#FFFFFF#000000##FFFFFF
##AA20A31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A6
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#B13562
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa20a3;
/* rgb */ color: rgb(170, 32, 163);
/* oklch */ color: oklch(52.5% 0.217 330.5);
Tailwind
colors: {
  custom: {
    50: '#c76ebf',
    500: '#aa20a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a3;
$custom-light: #c76ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a3",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 303.043,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.21735,
    "h": 330.5
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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