#AA22AC#AA22AC

#AA22AC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.222 H 327.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AA22AC
RGBrgb(170, 34, 172)
HSLhsl(299, 67%, 40%)
HSVhsv(299, 80%, 67%)
CMYKcmyk(1.2%, 80.2%, 0%, 32.5%)
CIE-LABlab(42.26, 67.49, -42.99)
CIE-LCHlch(42.26, 80.02, 327.50°)
OKLaboklab(53.19% 0.1875 -0.1194)
OKLCHoklch(53.19% 0.222 327.5)
XYZxyz(24.5956, 12.6705, 40.1719)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22AC #24AC22
analogous
#6522AC #AA22AC #AC2269
triadic
#AA22AC #ACAA22 #22ACAA
tetradic
#AA22AC #AC6522 #24AC22 #2269AC
square
#AA22AC #AC6522 #24AC22 #2269AC
split-complementary
#AA22AC #69AC22 #22AC65
monochromatic
#450E46 #771879 #AA22AC #D534D7 #DF67E1

Accessibility & contrast

On white

5.94
#AA22AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA22AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22AC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22AC#FFFFFF#000000##FFFFFF
##AA22AC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#496AA9
Tritanopia (blue-blind)
#AF3B68
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa22ac;
/* rgb */ color: rgb(170, 34, 172);
/* oklch */ color: oklch(53.2% 0.222 327.5);
Tailwind
colors: {
  custom: {
    50: '#c76fc5',
    500: '#aa22ac',
    950: '#000000',
  },
}
SCSS
$custom: #aa22ac;
$custom-light: #c76fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22ac",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 299.13,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.22227,
    "h": 327.5
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#AA22AC
secondary
#65C763
accent
#EA3E40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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