#AA5EB4#AA5EB4

#AA5EB4 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.2% C 0.150 H 322.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA5EB4
RGBrgb(170, 94, 180)
HSLhsl(293, 36%, 54%)
HSVhsv(293, 48%, 71%)
CMYKcmyk(5.6%, 47.8%, 0%, 29.4%)
CIE-LABlab(51.66, 44.24, -32.84)
CIE-LCHlch(51.66, 55.10, 323.41°)
OKLaboklab(60.16% 0.1193 -0.0905)
OKLCHoklch(60.16% 0.15 322.8)
XYZxyz(28.8176, 19.8480, 45.4843)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EB4 #68B45E
analogous
#7F5EB4 #AA5EB4 #B45E93
triadic
#AA5EB4 #B4AA5E #5EB4AA
tetradic
#AA5EB4 #B47F5E #68B45E #5E93B4
square
#AA5EB4 #B47F5E #68B45E #5E93B4
split-complementary
#AA5EB4 #93B45E #5EB47F
monochromatic
#613067 #884491 #AA5EB4 #C088C7 #D6B1DB

Accessibility & contrast

On white

4.23
#AA5EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA5EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EB4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EB4#FFFFFF#000000##000000
##AA5EB41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B7
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#AC6981
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5eb4;
/* rgb */ color: rgb(170, 94, 180);
/* oklch */ color: oklch(60.2% 0.150 322.8);
Tailwind
colors: {
  custom: {
    50: '#c58ecb',
    500: '#aa5eb4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eb4;
$custom-light: #c58ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eb4",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 293.023,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.1497,
    "h": 322.8
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#AA5EB4
secondary
#A9C9A5
accent
#CC5B69
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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