#AA5EB7#AA5EB7

#AA5EB7 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.3% C 0.153 H 321.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AA5EB7
RGBrgb(170, 94, 183)
HSLhsl(291, 38%, 54%)
HSVhsv(291, 49%, 72%)
CMYKcmyk(7.1%, 48.6%, 0%, 28.2%)
CIE-LABlab(51.81, 44.83, -34.36)
CIE-LCHlch(51.81, 56.49, 322.53°)
OKLaboklab(60.31% 0.1197 -0.0949)
OKLCHoklch(60.31% 0.153 321.6)
XYZxyz(29.1266, 19.9716, 47.1112)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EB7 #6BB75E
analogous
#7E5EB7 #AA5EB7 #B75E98
triadic
#AA5EB7 #B7AA5E #5EB7AA
tetradic
#AA5EB7 #B77E5E #6BB75E #5E98B7
square
#AA5EB7 #B77E5E #6BB75E #5E98B7
split-complementary
#AA5EB7 #98B75E #5EB77E
monochromatic
#62306B #894395 #AA5EB7 #C088CA #D7B3DD

Accessibility & contrast

On white

4.21
#AA5EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AA5EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EB7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EB7#FFFFFF#000000##000000
##AA5EB71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#AC6982
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5eb7;
/* rgb */ color: rgb(170, 94, 183);
/* oklch */ color: oklch(60.3% 0.153 321.6);
Tailwind
colors: {
  custom: {
    50: '#c58ecd',
    500: '#aa5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eb7;
$custom-light: #c58ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eb7",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 291.236,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.15275,
    "h": 321.6
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#AA5EB7
secondary
#ABCBA6
accent
#CE5A6B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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