#AA22A5#AA22A5

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

Color values

HEX#AA22A5
RGBrgb(170, 34, 165)
HSLhsl(302, 67%, 40%)
HSVhsv(302, 80%, 67%)
CMYKcmyk(0%, 80%, 2.9%, 33.3%)
CIE-LABlab(41.86, 66.38, -39.46)
CIE-LCHlch(41.86, 77.22, 329.27°)
OKLaboklab(52.77% 0.1877 -0.1092)
OKLCHoklch(52.77% 0.217 329.8)
XYZxyz(23.9410, 12.4086, 36.7242)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22A5 #22AA27
analogous
#6B22AA #AA22A5 #AA2261
triadic
#AA22A5 #A5AA22 #22A5AA
tetradic
#AA22A5 #AA6B22 #22AA27 #2261AA
square
#AA22A5 #AA6B22 #22AA27 #2261AA
split-complementary
#AA22A5 #61AA22 #22AA6B
monochromatic
#440E42 #771874 #AA22A5 #D633D0 #E066DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA22A5#FFFFFF#000000##FFFFFF
##AA22A51.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)
#0357A8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#B03864
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa22a5;
/* rgb */ color: rgb(170, 34, 165);
/* oklch */ color: oklch(52.8% 0.217 329.8);
Tailwind
colors: {
  custom: {
    50: '#c76fc0',
    500: '#aa22a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa22a5;
$custom-light: #c76fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22a5",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 302.206,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.21715,
    "h": 329.8
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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