#AA5CA2#AA5CA2

#AA5CA2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.0% C 0.136 H 331.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA5CA2
RGBrgb(170, 92, 162)
HSLhsl(306, 31%, 51%)
HSVhsv(306, 46%, 67%)
CMYKcmyk(0%, 45.9%, 4.7%, 33.3%)
CIE-LABlab(50.46, 41.90, -24.20)
CIE-LCHlch(50.46, 48.38, 329.99°)
OKLaboklab(59% 0.1188 -0.0658)
OKLCHoklch(59% 0.136 331)
XYZxyz(26.9261, 18.8105, 36.3879)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CA2 #5CAA64
analogous
#8B5CAA #AA5CA2 #AA5C7B
triadic
#AA5CA2 #A2AA5C #5CA2AA
tetradic
#AA5CA2 #AA8B5C #5CAA64 #5C7BAA
square
#AA5CA2 #AA8B5C #5CAA64 #5C7BAA
split-complementary
#AA5CA2 #7BAA5C #5CAA8B
monochromatic
#5C3057 #84457E #AA5CA2 #BF84B9 #D4ACD0

Accessibility & contrast

On white

4.41
#AA5CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AA5CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CA2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CA2#FFFFFF#000000##000000
##AA5CA21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#B06277
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa5ca2;
/* rgb */ color: rgb(170, 92, 162);
/* oklch */ color: oklch(59.0% 0.136 331.0);
Tailwind
colors: {
  custom: {
    50: '#c58dbd',
    500: '#aa5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ca2;
$custom-light: #c58dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ca2",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 306.154,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.13576,
    "h": 331
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#AA5CA2
secondary
#A0C2A3
accent
#C86B60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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