#AA2AA0#AA2AA0

#AA2AA0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.206 H 331.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA2AA0
RGBrgb(170, 42, 160)
HSLhsl(305, 60%, 42%)
HSVhsv(305, 75%, 67%)
CMYKcmyk(0%, 75.3%, 5.9%, 33.3%)
CIE-LABlab(42.37, 63.33, -35.65)
CIE-LCHlch(42.37, 72.68, 330.62°)
OKLaboklab(53.05% 0.1811 -0.0982)
OKLCHoklch(53.05% 0.206 331.5)
XYZxyz(23.7507, 12.7420, 34.4594)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AA0 #2AAA34
analogous
#742AAA #AA2AA0 #AA2A60
triadic
#AA2AA0 #A0AA2A #2AA0AA
tetradic
#AA2AA0 #AA742A #2AAA34 #2A60AA
square
#AA2AA0 #AA742A #2AAA34 #2A60AA
split-complementary
#AA2AA0 #60AA2A #2AAA74
monochromatic
#481244 #791E72 #AA2AA0 #D041C5 #DC72D4

Accessibility & contrast

On white

5.92
#AA2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA2AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AA0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AA0#FFFFFF#000000##FFFFFF
##AA2AA01.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#536A9D
Tritanopia (blue-blind)
#B13A63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2aa0;
/* rgb */ color: rgb(170, 42, 160);
/* oklch */ color: oklch(53.0% 0.206 331.5);
Tailwind
colors: {
  custom: {
    50: '#c772bc',
    500: '#aa2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #aa2aa0;
$custom-light: #c772bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2aa0",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 304.688,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.20604,
    "h": 331.5
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#AA2AA0
secondary
#6CC373
accent
#E45144
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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