#AA22A2#AA22A2

#AA22A2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.215 H 330.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AA22A2
RGBrgb(170, 34, 162)
HSLhsl(304, 67%, 40%)
HSVhsv(304, 80%, 67%)
CMYKcmyk(0%, 80%, 4.7%, 33.3%)
CIE-LABlab(41.69, 65.92, -37.93)
CIE-LCHlch(41.69, 76.05, 330.08°)
OKLaboklab(52.6% 0.1878 -0.1047)
OKLCHoklch(52.6% 0.215 330.8)
XYZxyz(23.6711, 12.3007, 35.3030)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22A2 #22AA2A
analogous
#6E22AA #AA22A2 #AA225E
triadic
#AA22A2 #A2AA22 #22A2AA
tetradic
#AA22A2 #AA6E22 #22AA2A #225EAA
square
#AA22A2 #AA6E22 #22AA2A #225EAA
split-complementary
#AA22A2 #5EAA22 #22AA6E
monochromatic
#440E41 #771871 #AA22A2 #D633CD #E066D9

Accessibility & contrast

On white

6.07
#AA22A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA22A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22A2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22A2#FFFFFF#000000##FFFFFF
##AA22A21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#4F699F
Tritanopia (blue-blind)
#B13662
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa22a2;
/* rgb */ color: rgb(170, 34, 162);
/* oklch */ color: oklch(52.6% 0.215 330.8);
Tailwind
colors: {
  custom: {
    50: '#c76fbe',
    500: '#aa22a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa22a2;
$custom-light: #c76fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22a2",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 303.529,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.21498,
    "h": 330.8
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#AA22A2
secondary
#62C668
accent
#EA483E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA22A2

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

Preview Lab → · Contrast checker → · Palette generator →

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