#AA5BB9#AA5BB9

#AA5BB9 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.0% C 0.160 H 321.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA5BB9
RGBrgb(170, 91, 185)
HSLhsl(290, 40%, 54%)
HSVhsv(290, 51%, 73%)
CMYKcmyk(8.1%, 50.8%, 0%, 27.5%)
CIE-LABlab(51.30, 46.79, -36.31)
CIE-LCHlch(51.30, 59.23, 322.19°)
OKLaboklab(59.97% 0.1243 -0.1005)
OKLCHoklch(59.97% 0.16 321)
XYZxyz(29.0746, 19.5322, 48.1281)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BB9 #6AB95B
analogous
#7B5BB9 #AA5BB9 #B95B99
triadic
#AA5BB9 #B9AA5B #5BB9AA
tetradic
#AA5BB9 #B97B5B #6AB95B #5B99B9
square
#AA5BB9 #B97B5B #6AB95B #5B99B9
split-complementary
#AA5BB9 #99B95B #5BB97B
monochromatic
#622E6C #894097 #AA5BB9 #C086CB #D6B1DE

Accessibility & contrast

On white

4.28
#AA5BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AA5BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BB9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BB9#FFFFFF#000000##000000
##AA5BB91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BC
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#AC6882
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5bb9;
/* rgb */ color: rgb(170, 91, 185);
/* oklch */ color: oklch(60.0% 0.160 321.0);
Tailwind
colors: {
  custom: {
    50: '#c58cce',
    500: '#aa5bb9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bb9;
$custom-light: #c58cce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bb9",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 290.426,
    "s": 40.171,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.15978,
    "h": 321
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#AA5BB9
secondary
#AACCA4
accent
#D0586B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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