#AA5EA2#AA5EA2

#AA5EA2 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.3% C 0.132 H 331.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA5EA2
RGBrgb(170, 94, 162)
HSLhsl(306, 31%, 52%)
HSVhsv(306, 45%, 67%)
CMYKcmyk(0%, 44.7%, 4.7%, 33.3%)
CIE-LABlab(50.88, 40.84, -23.56)
CIE-LCHlch(50.88, 47.15, 330.02°)
OKLaboklab(59.31% 0.1157 -0.064)
OKLCHoklch(59.31% 0.132 331)
XYZxyz(27.1016, 19.1616, 36.4465)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EA2 #5EAA66
analogous
#8C5EAA #AA5EA2 #AA5E7C
triadic
#AA5EA2 #A2AA5E #5EA2AA
tetradic
#AA5EA2 #AA8C5E #5EAA66 #5E7CAA
square
#AA5EA2 #AA8C5E #5EAA66 #5E7CAA
split-complementary
#AA5EA2 #7CAA5E #5EAA8C
monochromatic
#5D3158 #85467E #AA5EA2 #BF86B9 #D4AED0

Accessibility & contrast

On white

4.35
#AA5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AA5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EA2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EA2#FFFFFF#000000##000000
##AA5EA21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A4
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#B06378
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa5ea2;
/* rgb */ color: rgb(170, 94, 162);
/* oklch */ color: oklch(59.3% 0.132 331.0);
Tailwind
colors: {
  custom: {
    50: '#c58ebd',
    500: '#aa5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ea2;
$custom-light: #c58ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ea2",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 306.316,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.13226,
    "h": 331
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#AA5EA2
secondary
#A1C3A5
accent
#C76B61
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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