#AA5BC5#AA5BC5

#AA5BC5 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.6% C 0.172 H 316.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AA5BC5
RGBrgb(170, 91, 197)
HSLhsl(285, 48%, 56%)
HSVhsv(285, 54%, 77%)
CMYKcmyk(13.7%, 53.8%, 0%, 22.7%)
CIE-LABlab(51.91, 49.22, -42.28)
CIE-LCHlch(51.91, 64.89, 319.34°)
OKLaboklab(60.61% 0.1256 -0.1178)
OKLCHoklch(60.61% 0.172 316.8)
XYZxyz(30.3952, 20.0605, 55.0834)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BC5 #76C55B
analogous
#755BC5 #AA5BC5 #C55BAB
triadic
#AA5BC5 #C5AA5B #5BC5AA
tetradic
#AA5BC5 #C5755B #76C55B #5BABC5
square
#AA5BC5 #C5755B #76C55B #5BABC5
split-complementary
#AA5BC5 #ABC55B #5BC575
monochromatic
#662B7A #8C3BA8 #AA5BC5 #C188D5 #D9B5E5

Accessibility & contrast

On white

4.19
#AA5BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AA5BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BC5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BC5#FFFFFF#000000##000000
##AA5BC51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377C8
Deuteranopia (green-blind)
#5D7EC2
Tritanopia (blue-blind)
#A96B87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5bc5;
/* rgb */ color: rgb(170, 91, 197);
/* oklch */ color: oklch(60.6% 0.172 316.8);
Tailwind
colors: {
  custom: {
    50: '#c68dd7',
    500: '#aa5bc5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bc5;
$custom-light: #c68dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bc5",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 284.717,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60606,
    "c": 0.17215,
    "h": 316.8
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#AA5BC5
secondary
#B3D4A8
accent
#D75073
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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