#AA2C9A#AA2C9A

#AA2C9A is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.200 H 333.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AA2C9A
RGBrgb(170, 44, 154)
HSLhsl(308, 59%, 42%)
HSVhsv(308, 74%, 67%)
CMYKcmyk(0%, 74.1%, 9.4%, 33.3%)
CIE-LABlab(42.28, 61.77, -32.19)
CIE-LCHlch(42.28, 69.65, 332.47°)
OKLaboklab(52.88% 0.179 -0.0882)
OKLCHoklch(52.88% 0.2 333.8)
XYZxyz(23.3112, 12.6825, 31.7858)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C9A #2CAA3C
analogous
#7B2CAA #AA2C9A #AA2C5B
triadic
#AA2C9A #9AAA2C #2C9AAA
tetradic
#AA2C9A #AA7B2C #2CAA3C #2C5BAA
square
#AA2C9A #AA7B2C #2CAA3C #2C5BAA
split-complementary
#AA2C9A #5BAA2C #2CAA7B
monochromatic
#491342 #791F6E #AA2C9A #CF44BD #DB75CE

Accessibility & contrast

On white

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

On black

3.54
#AA2C9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AA2C9A#FFFFFF#000000##FFFFFF
##AA2C9A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#B23860
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2c9a;
/* rgb */ color: rgb(170, 44, 154);
/* oklch */ color: oklch(52.9% 0.200 333.8);
Tailwind
colors: {
  custom: {
    50: '#c772b8',
    500: '#aa2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c9a;
$custom-light: #c772b8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c9a",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 307.619,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.19955,
    "h": 333.8
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#AA2C9A
secondary
#6FC37A
accent
#E25A46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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