#AA5EB8#AA5EB8

#AA5EB8 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.4% C 0.154 H 321.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AA5EB8
RGBrgb(170, 94, 184)
HSLhsl(291, 39%, 55%)
HSVhsv(291, 49%, 72%)
CMYKcmyk(7.6%, 48.9%, 0%, 27.8%)
CIE-LABlab(51.85, 45.03, -34.87)
CIE-LCHlch(51.85, 56.95, 322.25°)
OKLaboklab(60.36% 0.1199 -0.0963)
OKLCHoklch(60.36% 0.154 321.2)
XYZxyz(29.2310, 20.0133, 47.6613)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EB8 #6CB85E
analogous
#7D5EB8 #AA5EB8 #B85E99
triadic
#AA5EB8 #B8AA5E #5EB8AA
tetradic
#AA5EB8 #B87D5E #6CB85E #5E99B8
square
#AA5EB8 #B87D5E #6CB85E #5E99B8
split-complementary
#AA5EB8 #99B85E #5EB87D
monochromatic
#63306C #894296 #AA5EB8 #C088CB #D7B3DD

Accessibility & contrast

On white

4.20
#AA5EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AA5EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EB8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EB8#FFFFFF#000000##000000
##AA5EB81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#677FB5
Tritanopia (blue-blind)
#AC6A82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5eb8;
/* rgb */ color: rgb(170, 94, 184);
/* oklch */ color: oklch(60.4% 0.154 321.2);
Tailwind
colors: {
  custom: {
    50: '#c58ecd',
    500: '#aa5eb8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eb8;
$custom-light: #c58ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eb8",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 290.667,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.15378,
    "h": 321.2
  },
  "luminance": 0.20012
}

Semantic roles & 50–950 ramp

primary
#AA5EB8
secondary
#ACCCA6
accent
#CF596B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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