#AA2AA1#AA2AA1

#AA2AA1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.207 H 331.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AA2AA1
RGBrgb(170, 42, 161)
HSLhsl(304, 60%, 42%)
HSVhsv(304, 75%, 67%)
CMYKcmyk(0%, 75.3%, 5.3%, 33.3%)
CIE-LABlab(42.43, 63.49, -36.17)
CIE-LCHlch(42.43, 73.07, 330.33°)
OKLaboklab(53.1% 0.1812 -0.0997)
OKLCHoklch(53.1% 0.207 331.2)
XYZxyz(23.8385, 12.7771, 34.9220)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AA1 #2AAA33
analogous
#732AAA #AA2AA1 #AA2A61
triadic
#AA2AA1 #A1AA2A #2AA1AA
tetradic
#AA2AA1 #AA732A #2AAA33 #2A61AA
square
#AA2AA1 #AA732A #2AAA33 #2A61AA
split-complementary
#AA2AA1 #61AA2A #2AAA73
monochromatic
#481244 #791E73 #AA2AA1 #D041C6 #DC72D5

Accessibility & contrast

On white

5.91
#AA2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA2AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AA1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AA1#FFFFFF#000000##FFFFFF
##AA2AA11.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#536A9E
Tritanopia (blue-blind)
#B13A64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2aa1;
/* rgb */ color: rgb(170, 42, 161);
/* oklch */ color: oklch(53.1% 0.207 331.2);
Tailwind
colors: {
  custom: {
    50: '#c772bd',
    500: '#aa2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2aa1;
$custom-light: #c772bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2aa1",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 304.219,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.20677,
    "h": 331.2
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#AA2AA1
secondary
#6CC372
accent
#E44F44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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