#AA5BC1#AA5BC1

#AA5BC1 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.4% C 0.168 H 318.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AA5BC1
RGBrgb(170, 91, 193)
HSLhsl(286, 45%, 56%)
HSVhsv(286, 53%, 76%)
CMYKcmyk(11.9%, 52.8%, 0%, 24.3%)
CIE-LABlab(51.70, 48.40, -40.31)
CIE-LCHlch(51.70, 62.99, 320.22°)
OKLaboklab(60.39% 0.1252 -0.112)
OKLCHoklch(60.39% 0.168 318.2)
XYZxyz(29.9430, 19.8796, 52.7016)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BC1 #72C15B
analogous
#775BC1 #AA5BC1 #C15BA5
triadic
#AA5BC1 #C1AA5B #5BC1AA
tetradic
#AA5BC1 #C1775B #72C15B #5BA5C1
square
#AA5BC1 #C1775B #72C15B #5BA5C1
split-complementary
#AA5BC1 #A5C15B #5BC177
monochromatic
#652C75 #8B3DA2 #AA5BC1 #C187D2 #D8B4E3

Accessibility & contrast

On white

4.22
#AA5BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AA5BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BC1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BC1#FFFFFF#000000##000000
##AA5BC11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#AA6A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5bc1;
/* rgb */ color: rgb(170, 91, 193);
/* oklch */ color: oklch(60.4% 0.168 318.2);
Tailwind
colors: {
  custom: {
    50: '#c58cd4',
    500: '#aa5bc1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bc1;
$custom-light: #c58cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bc1",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 286.471,
    "s": 45.133,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.16799,
    "h": 318.2
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#AA5BC1
secondary
#B0D1A7
accent
#D55370
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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