#AA2CA4#AA2CA4

#AA2CA4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.207 H 330.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA2CA4
RGBrgb(170, 44, 164)
HSLhsl(303, 59%, 42%)
HSVhsv(303, 74%, 67%)
CMYKcmyk(0%, 74.1%, 3.5%, 33.3%)
CIE-LABlab(42.81, 63.33, -37.36)
CIE-LCHlch(42.81, 73.53, 329.46°)
OKLaboklab(53.43% 0.1794 -0.1031)
OKLCHoklch(53.43% 0.207 330.1)
XYZxyz(24.1790, 13.0296, 36.3563)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CA4 #2CAA32
analogous
#712CAA #AA2CA4 #AA2C65
triadic
#AA2CA4 #A4AA2C #2CA4AA
tetradic
#AA2CA4 #AA712C #2CAA32 #2C65AA
square
#AA2CA4 #AA712C #2CAA32 #2C65AA
split-complementary
#AA2CA4 #65AA2C #2CAA71
monochromatic
#491346 #791F75 #AA2CA4 #CF44C8 #DB75D6

Accessibility & contrast

On white

5.82
#AA2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2CA4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CA4#FFFFFF#000000##FFFFFF
##AA2CA41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#B03D66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ca4;
/* rgb */ color: rgb(170, 44, 164);
/* oklch */ color: oklch(53.4% 0.207 330.1);
Tailwind
colors: {
  custom: {
    50: '#c773bf',
    500: '#aa2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ca4;
$custom-light: #c773bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ca4",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 302.857,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.20694,
    "h": 330.1
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#AA2CA4
secondary
#6FC373
accent
#E24D46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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