#AA20A8#AA20A8

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

Color values

HEX#AA20A8
RGBrgb(170, 32, 168)
HSLhsl(301, 68%, 40%)
HSVhsv(301, 81%, 67%)
CMYKcmyk(0%, 81.2%, 1.2%, 33.3%)
CIE-LABlab(41.86, 67.35, -41.26)
CIE-LCHlch(41.86, 78.98, 328.51°)
OKLaboklab(52.83% 0.1891 -0.1144)
OKLCHoklch(52.83% 0.221 328.8)
XYZxyz(24.1617, 12.4081, 38.1606)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20A8 #20AA22
analogous
#6720AA #AA20A8 #AA2063
triadic
#AA20A8 #A8AA20 #20A8AA
tetradic
#AA20A8 #AA6720 #20AA22 #2063AA
square
#AA20A8 #AA6720 #20AA22 #2063AA
split-complementary
#AA20A8 #63AA20 #20AA67
monochromatic
#430D42 #761675 #AA20A8 #D82FD5 #E263E0

Accessibility & contrast

On white

6.03
#AA20A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA20A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20A8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20A8#FFFFFF#000000##FFFFFF
##AA20A81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa20a8;
/* rgb */ color: rgb(170, 32, 168);
/* oklch */ color: oklch(52.8% 0.221 328.8);
Tailwind
colors: {
  custom: {
    50: '#c76ec2',
    500: '#aa20a8',
    950: '#000000',
  },
}
SCSS
$custom: #aa20a8;
$custom-light: #c76ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20a8",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 300.87,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.22095,
    "h": 328.8
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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