#AA2AA4#AA2AA4

#AA2AA4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.209 H 330.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AA2AA4
RGBrgb(170, 42, 164)
HSLhsl(303, 60%, 42%)
HSVhsv(303, 75%, 67%)
CMYKcmyk(0%, 75.3%, 3.5%, 33.3%)
CIE-LABlab(42.59, 63.96, -37.71)
CIE-LCHlch(42.59, 74.25, 329.48°)
OKLaboklab(53.27% 0.1812 -0.1041)
OKLCHoklch(53.27% 0.209 330.1)
XYZxyz(24.1063, 12.8842, 36.3320)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AA4 #2AAA30
analogous
#702AAA #AA2AA4 #AA2A64
triadic
#AA2AA4 #A4AA2A #2AA4AA
tetradic
#AA2AA4 #AA702A #2AAA30 #2A64AA
square
#AA2AA4 #AA702A #2AAA30 #2A64AA
split-complementary
#AA2AA4 #64AA2A #2AAA70
monochromatic
#481245 #791E75 #AA2AA4 #D041C9 #DC72D7

Accessibility & contrast

On white

5.87
#AA2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AA2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AA4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AA4#FFFFFF#000000##FFFFFF
##AA2AA41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A7
Deuteranopia (green-blind)
#516BA1
Tritanopia (blue-blind)
#B03C65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2aa4;
/* rgb */ color: rgb(170, 42, 164);
/* oklch */ color: oklch(53.3% 0.209 330.1);
Tailwind
colors: {
  custom: {
    50: '#c772bf',
    500: '#aa2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2aa4;
$custom-light: #c772bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2aa4",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 302.813,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.20901,
    "h": 330.1
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#AA2AA4
secondary
#6CC370
accent
#E44C44
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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