#AA22A4#AA22A4

#AA22A4 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.216 H 330.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA22A4
RGBrgb(170, 34, 164)
HSLhsl(303, 67%, 40%)
HSVhsv(303, 80%, 67%)
CMYKcmyk(0%, 80%, 3.5%, 33.3%)
CIE-LABlab(41.80, 66.22, -38.95)
CIE-LCHlch(41.80, 76.83, 329.54°)
OKLaboklab(52.71% 0.1877 -0.1077)
OKLCHoklch(52.71% 0.216 330.2)
XYZxyz(23.8503, 12.3724, 36.2467)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22A4 #22AA28
analogous
#6C22AA #AA22A4 #AA2260
triadic
#AA22A4 #A4AA22 #22A4AA
tetradic
#AA22A4 #AA6C22 #22AA28 #2260AA
square
#AA22A4 #AA6C22 #22AA28 #2260AA
split-complementary
#AA22A4 #60AA22 #22AA6C
monochromatic
#440E42 #771873 #AA22A4 #D633CF #E066DB

Accessibility & contrast

On white

6.04
#AA22A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA22A4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22A4#FFFFFF#000000##FFFFFF
##AA22A41.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#B13763
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa22a4;
/* rgb */ color: rgb(170, 34, 164);
/* oklch */ color: oklch(52.7% 0.216 330.2);
Tailwind
colors: {
  custom: {
    50: '#c76fbf',
    500: '#aa22a4',
    950: '#000000',
  },
}
SCSS
$custom: #aa22a4;
$custom-light: #c76fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22a4",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 302.647,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.21642,
    "h": 330.2
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#AA22A4
secondary
#62C666
accent
#EA463E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA22A4

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

Preview Lab → · Contrast checker → · Palette generator →

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