#AA2CA5#AA2CA5

#AA2CA5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.208 H 329.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AA2CA5
RGBrgb(170, 44, 165)
HSLhsl(302, 59%, 42%)
HSVhsv(302, 74%, 67%)
CMYKcmyk(0%, 74.1%, 2.9%, 33.3%)
CIE-LABlab(42.86, 63.49, -37.87)
CIE-LCHlch(42.86, 73.93, 329.19°)
OKLaboklab(53.49% 0.1794 -0.1046)
OKLCHoklch(53.49% 0.208 329.8)
XYZxyz(24.2696, 13.0659, 36.8337)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CA5 #2CAA31
analogous
#702CAA #AA2CA5 #AA2C66
triadic
#AA2CA5 #A5AA2C #2CA5AA
tetradic
#AA2CA5 #AA702C #2CAA31 #2C66AA
square
#AA2CA5 #AA702C #2CAA31 #2C66AA
split-complementary
#AA2CA5 #66AA2C #2CAA70
monochromatic
#491347 #791F76 #AA2CA5 #CF44C9 #DB75D7

Accessibility & contrast

On white

5.81
#AA2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA2CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CA5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CA5#FFFFFF#000000##FFFFFF
##AA2CA51.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA8
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#B03E66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ca5;
/* rgb */ color: rgb(170, 44, 165);
/* oklch */ color: oklch(53.5% 0.208 329.8);
Tailwind
colors: {
  custom: {
    50: '#c773c0',
    500: '#aa2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ca5;
$custom-light: #c773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ca5",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 302.381,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.2077,
    "h": 329.8
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#AA2CA5
secondary
#6FC372
accent
#E24C46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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