#AA5BA2#AA5BA2

#AA5BA2 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 58.9% C 0.138 H 331.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA5BA2
RGBrgb(170, 91, 162)
HSLhsl(306, 32%, 51%)
HSVhsv(306, 46%, 67%)
CMYKcmyk(0%, 46.5%, 4.7%, 33.3%)
CIE-LABlab(50.26, 42.42, -24.51)
CIE-LCHlch(50.26, 49.00, 329.98°)
OKLaboklab(58.85% 0.1203 -0.0667)
OKLCHoklch(58.85% 0.138 331)
XYZxyz(26.8400, 18.6384, 36.3593)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BA2 #5BAA63
analogous
#8A5BAA #AA5BA2 #AA5B7A
triadic
#AA5BA2 #A2AA5B #5BA2AA
tetradic
#AA5BA2 #AA8A5B #5BAA63 #5B7AAA
square
#AA5BA2 #AA8A5B #5BAA63 #5B7AAA
split-complementary
#AA5BA2 #7AAA5B #5BAA8A
monochromatic
#5B2F57 #84447D #AA5BA2 #BF83B9 #D4ACD0

Accessibility & contrast

On white

4.44
#AA5BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AA5BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BA2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BA2#FFFFFF#000000##000000
##AA5BA21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#B06177
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa5ba2;
/* rgb */ color: rgb(170, 91, 162);
/* oklch */ color: oklch(58.9% 0.138 331.0);
Tailwind
colors: {
  custom: {
    50: '#c58cbd',
    500: '#aa5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ba2;
$custom-light: #c58cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ba2",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 306.076,
    "s": 31.727,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.1375,
    "h": 331
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#AA5BA2
secondary
#9FC2A2
accent
#C86A60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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