#AA2CA6#AA2CA6

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

Color values

HEX#AA2CA6
RGBrgb(170, 44, 166)
HSLhsl(302, 59%, 42%)
HSVhsv(302, 74%, 67%)
CMYKcmyk(0%, 74.1%, 2.4%, 33.3%)
CIE-LABlab(42.92, 63.65, -38.38)
CIE-LCHlch(42.92, 74.33, 328.91°)
OKLaboklab(53.54% 0.1794 -0.1061)
OKLCHoklch(53.54% 0.208 329.4)
XYZxyz(24.3610, 13.1024, 37.3150)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CA6 #2CAA30
analogous
#6F2CAA #AA2CA6 #AA2C67
triadic
#AA2CA6 #A6AA2C #2CA6AA
tetradic
#AA2CA6 #AA6F2C #2CAA30 #2C67AA
square
#AA2CA6 #AA6F2C #2CAA30 #2C67AA
split-complementary
#AA2CA6 #67AA2C #2CAA6F
monochromatic
#491347 #791F77 #AA2CA6 #CF44CA #DB75D8

Accessibility & contrast

On white

5.80
#AA2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AA2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CA6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CA6#FFFFFF#000000##FFFFFF
##AA2CA61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BA9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#B03E67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ca6;
/* rgb */ color: rgb(170, 44, 166);
/* oklch */ color: oklch(53.5% 0.208 329.4);
Tailwind
colors: {
  custom: {
    50: '#c773c1',
    500: '#aa2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ca6;
$custom-light: #c773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ca6",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 301.905,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.20846,
    "h": 329.4
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#AA2CA6
secondary
#6FC371
accent
#E24B46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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