#AA2A9D#AA2A9D

#AA2A9D is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.204 H 332.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA2A9D
RGBrgb(170, 42, 157)
HSLhsl(306, 60%, 42%)
HSVhsv(306, 75%, 67%)
CMYKcmyk(0%, 75.3%, 7.6%, 33.3%)
CIE-LABlab(42.21, 62.86, -34.10)
CIE-LCHlch(42.21, 71.52, 331.52°)
OKLaboklab(52.88% 0.181 -0.0937)
OKLCHoklch(52.88% 0.204 332.6)
XYZxyz(23.4914, 12.6383, 33.0939)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A9D #2AAA37
analogous
#772AAA #AA2A9D #AA2A5D
triadic
#AA2A9D #9DAA2A #2A9DAA
tetradic
#AA2A9D #AA772A #2AAA37 #2A5DAA
square
#AA2A9D #AA772A #2AAA37 #2A5DAA
split-complementary
#AA2A9D #5DAA2A #2AAA77
monochromatic
#481242 #791E70 #AA2A9D #D041C2 #DC72D1

Accessibility & contrast

On white

5.95
#AA2A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2A9D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A9D#FFFFFF#000000##FFFFFF
##AA2A9D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#B23861
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2a9d;
/* rgb */ color: rgb(170, 42, 157);
/* oklch */ color: oklch(52.9% 0.204 332.6);
Tailwind
colors: {
  custom: {
    50: '#c772ba',
    500: '#aa2a9d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a9d;
$custom-light: #c772ba;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a9d",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 306.094,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.20384,
    "h": 332.6
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#AA2A9D
secondary
#6CC375
accent
#E45444
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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