#AA22A7#AA22A7

#AA22A7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.219 H 329.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AA22A7
RGBrgb(170, 34, 167)
HSLhsl(301, 67%, 40%)
HSVhsv(301, 80%, 67%)
CMYKcmyk(0%, 80%, 1.8%, 33.3%)
CIE-LABlab(41.97, 66.70, -40.48)
CIE-LCHlch(41.97, 78.02, 328.75°)
OKLaboklab(52.89% 0.1877 -0.1121)
OKLCHoklch(52.89% 0.219 329.1)
XYZxyz(24.1245, 12.4820, 37.6904)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22A7 #22AA25
analogous
#6922AA #AA22A7 #AA2263
triadic
#AA22A7 #A7AA22 #22A7AA
tetradic
#AA22A7 #AA6922 #22AA25 #2263AA
square
#AA22A7 #AA6922 #22AA25 #2263AA
split-complementary
#AA22A7 #63AA22 #22AA69
monochromatic
#440E43 #771875 #AA22A7 #D633D3 #E066DE

Accessibility & contrast

On white

6.01
#AA22A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA22A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22A7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22A7#FFFFFF#000000##FFFFFF
##AA22A71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4D69A4
Tritanopia (blue-blind)
#B03965
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa22a7;
/* rgb */ color: rgb(170, 34, 167);
/* oklch */ color: oklch(52.9% 0.219 329.1);
Tailwind
colors: {
  custom: {
    50: '#c76fc2',
    500: '#aa22a7',
    950: '#000000',
  },
}
SCSS
$custom: #aa22a7;
$custom-light: #c76fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22a7",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 301.324,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.2186,
    "h": 329.1
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#AA22A7
secondary
#62C664
accent
#EA423E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA22A7

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

Preview Lab → · Contrast checker → · Palette generator →

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