#AA22A0#AA22A0

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

Color values

HEX#AA22A0
RGBrgb(170, 34, 160)
HSLhsl(304, 67%, 40%)
HSVhsv(304, 80%, 67%)
CMYKcmyk(0%, 80%, 5.9%, 33.3%)
CIE-LABlab(41.58, 65.61, -36.91)
CIE-LCHlch(41.58, 75.28, 330.64°)
OKLaboklab(52.48% 0.1878 -0.1018)
OKLCHoklch(52.48% 0.214 331.5)
XYZxyz(23.4948, 12.2301, 34.3741)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22A0 #22AA2C
analogous
#7022AA #AA22A0 #AA225C
triadic
#AA22A0 #A0AA22 #22A0AA
tetradic
#AA22A0 #AA7022 #22AA2C #225CAA
square
#AA22A0 #AA7022 #22AA2C #225CAA
split-complementary
#AA22A0 #5CAA22 #22AA70
monochromatic
#440E40 #771870 #AA22A0 #D633CA #E066D7

Accessibility & contrast

On white

6.09
#AA22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA22A0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22A0#FFFFFF#000000##FFFFFF
##AA22A01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#51699D
Tritanopia (blue-blind)
#B13561
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa22a0;
/* rgb */ color: rgb(170, 34, 160);
/* oklch */ color: oklch(52.5% 0.214 331.5);
Tailwind
colors: {
  custom: {
    50: '#c76fbc',
    500: '#aa22a0',
    950: '#000000',
  },
}
SCSS
$custom: #aa22a0;
$custom-light: #c76fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22a0",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 304.412,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.21355,
    "h": 331.5
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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