#AA22A9#AA22A9

#AA22A9 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 328.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA22A9
RGBrgb(170, 34, 169)
HSLhsl(300, 67%, 40%)
HSVhsv(300, 80%, 67%)
CMYKcmyk(0%, 80%, 0.6%, 33.3%)
CIE-LABlab(42.09, 67.01, -41.49)
CIE-LCHlch(42.09, 78.81, 328.24°)
OKLaboklab(53.01% 0.1876 -0.115)
OKLCHoklch(53.01% 0.22 328.5)
XYZxyz(24.3108, 12.5565, 38.6717)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22A9 #22AA23
analogous
#6722AA #AA22A9 #AA2265
triadic
#AA22A9 #A9AA22 #22A9AA
tetradic
#AA22A9 #AA6722 #22AA23 #2265AA
square
#AA22A9 #AA6722 #22AA23 #2265AA
split-complementary
#AA22A9 #65AA22 #22AA67
monochromatic
#440E44 #771876 #AA22A9 #D633D5 #E066E0

Accessibility & contrast

On white

5.98
#AA22A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA22A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22A9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22A9#FFFFFF#000000##FFFFFF
##AA22A91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#B03A66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa22a9;
/* rgb */ color: rgb(170, 34, 169);
/* oklch */ color: oklch(53.0% 0.220 328.5);
Tailwind
colors: {
  custom: {
    50: '#c76fc3',
    500: '#aa22a9',
    950: '#000000',
  },
}
SCSS
$custom: #aa22a9;
$custom-light: #c76fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22a9",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 300.441,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.22006,
    "h": 328.5
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#AA22A9
secondary
#62C663
accent
#EA3F3E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AA22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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