#AA22A1#AA22A1

#AA22A1 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.214 H 331.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA22A1
RGBrgb(170, 34, 161)
HSLhsl(304, 67%, 40%)
HSVhsv(304, 80%, 67%)
CMYKcmyk(0%, 80%, 5.3%, 33.3%)
CIE-LABlab(41.63, 65.76, -37.42)
CIE-LCHlch(41.63, 75.66, 330.36°)
OKLaboklab(52.54% 0.1878 -0.1032)
OKLCHoklch(52.54% 0.214 331.2)
XYZxyz(23.5826, 12.2653, 34.8367)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22A1 #22AA2B
analogous
#6F22AA #AA22A1 #AA225D
triadic
#AA22A1 #A1AA22 #22A1AA
tetradic
#AA22A1 #AA6F22 #22AA2B #225DAA
square
#AA22A1 #AA6F22 #22AA2B #225DAA
split-complementary
#AA22A1 #5DAA22 #22AA6F
monochromatic
#440E40 #771871 #AA22A1 #D633CB #E066D8

Accessibility & contrast

On white

6.08
#AA22A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA22A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22A1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22A1#FFFFFF#000000##FFFFFF
##AA22A11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#50699E
Tritanopia (blue-blind)
#B13562
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa22a1;
/* rgb */ color: rgb(170, 34, 161);
/* oklch */ color: oklch(52.5% 0.214 331.2);
Tailwind
colors: {
  custom: {
    50: '#c76fbd',
    500: '#aa22a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa22a1;
$custom-light: #c76fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22a1",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 303.971,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.21427,
    "h": 331.2
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#AA22A1
secondary
#62C669
accent
#EA4A3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA22A1

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

Preview Lab → · Contrast checker → · Palette generator →

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