#AA20AA#AA20AA

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

Color values

HEX#AA20AA
RGBrgb(170, 32, 170)
HSLhsl(300, 68%, 40%)
HSVhsv(300, 81%, 67%)
CMYKcmyk(0%, 81.2%, 0%, 33.3%)
CIE-LABlab(41.97, 67.67, -42.26)
CIE-LCHlch(41.97, 79.78, 328.01°)
OKLaboklab(52.95% 0.189 -0.1173)
OKLCHoklch(52.95% 0.222 328.2)
XYZxyz(24.3495, 12.4832, 39.1495)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA20AA #20AA20
analogous
#6520AA #AA20AA #AA2065
triadic
#AA20AA #AAAA20 #20AAAA
tetradic
#AA20AA #AA6520 #20AA20 #2065AA
square
#AA20AA #AA6520 #20AA20 #2065AA
split-complementary
#AA20AA #65AA20 #20AA65
monochromatic
#430D43 #761676 #AA20AA #D82FD8 #E263E2

Accessibility & contrast

On white

6.01
#AA20AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA20AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA20AA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA20AA#FFFFFF#000000##FFFFFF
##AA20AA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa20aa;
/* rgb */ color: rgb(170, 32, 170);
/* oklch */ color: oklch(52.9% 0.222 328.2);
Tailwind
colors: {
  custom: {
    50: '#c76fc4',
    500: '#aa20aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa20aa;
$custom-light: #c76fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa20aa",
  "rgb": {
    "r": 170,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.22241,
    "h": 328.2
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#AA20AA
secondary
#5FC75F
accent
#EB3D3D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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