#AA5EA7#AA5EA7

#AA5EA7 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.5% C 0.137 H 328.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA5EA7
RGBrgb(170, 94, 167)
HSLhsl(302, 31%, 52%)
HSVhsv(302, 45%, 67%)
CMYKcmyk(0%, 44.7%, 1.8%, 33.3%)
CIE-LABlab(51.09, 41.76, -26.17)
CIE-LCHlch(51.09, 49.28, 327.93°)
OKLaboklab(59.54% 0.1168 -0.0714)
OKLCHoklch(59.54% 0.137 328.6)
XYZxyz(27.5549, 19.3429, 38.8339)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EA7 #5EAA61
analogous
#875EAA #AA5EA7 #AA5E81
triadic
#AA5EA7 #A7AA5E #5EA7AA
tetradic
#AA5EA7 #AA875E #5EAA61 #5E81AA
square
#AA5EA7 #AA875E #5EAA61 #5E81AA
split-complementary
#AA5EA7 #81AA5E #5EAA87
monochromatic
#5D315B #854682 #AA5EA7 #BF86BD #D4AED3

Accessibility & contrast

On white

4.31
#AA5EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AA5EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EA7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EA7#FFFFFF#000000##000000
##AA5EA71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5973AA
Deuteranopia (green-blind)
#6E7DA5
Tritanopia (blue-blind)
#AF657B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5ea7;
/* rgb */ color: rgb(170, 94, 167);
/* oklch */ color: oklch(59.5% 0.137 328.6);
Tailwind
colors: {
  custom: {
    50: '#c58ec1',
    500: '#aa5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ea7;
$custom-light: #c58ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ea7",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 302.368,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.13693,
    "h": 328.6
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#AA5EA7
secondary
#A1C3A3
accent
#C76561
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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