#AA2C96#AA2C96

#AA2C96 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.7% C 0.197 H 335.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA2C96
RGBrgb(170, 44, 150)
HSLhsl(310, 59%, 42%)
HSVhsv(310, 74%, 67%)
CMYKcmyk(0%, 74.1%, 11.8%, 33.3%)
CIE-LABlab(42.08, 61.16, -30.09)
CIE-LCHlch(42.08, 68.16, 333.80°)
OKLaboklab(52.67% 0.1787 -0.0822)
OKLCHoklch(52.67% 0.197 335.3)
XYZxyz(22.9836, 12.5515, 30.0605)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C96 #2CAA40
analogous
#7F2CAA #AA2C96 #AA2C57
triadic
#AA2C96 #96AA2C #2C96AA
tetradic
#AA2C96 #AA7F2C #2CAA40 #2C57AA
square
#AA2C96 #AA7F2C #2CAA40 #2C57AA
split-complementary
#AA2C96 #57AA2C #2CAA7F
monochromatic
#491340 #791F6B #AA2C96 #CF44B9 #DB75CB

Accessibility & contrast

On white

5.98
#AA2C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA2C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2C96
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2C96#FFFFFF#000000##FFFFFF
##AA2C961.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#B3365E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2c96;
/* rgb */ color: rgb(170, 44, 150);
/* oklch */ color: oklch(52.7% 0.197 335.3);
Tailwind
colors: {
  custom: {
    50: '#c772b5',
    500: '#aa2c96',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c96;
$custom-light: #c772b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c96",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 309.524,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.19669,
    "h": 335.3
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#AA2C96
secondary
#6FC37C
accent
#E25F46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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