#AA5BC4#AA5BC4

#AA5BC4 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.6% C 0.171 H 317.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AA5BC4
RGBrgb(170, 91, 196)
HSLhsl(285, 47%, 56%)
HSVhsv(285, 54%, 77%)
CMYKcmyk(13.3%, 53.6%, 0%, 23.1%)
CIE-LABlab(51.85, 49.02, -41.79)
CIE-LCHlch(51.85, 64.41, 319.55°)
OKLaboklab(60.55% 0.1255 -0.1163)
OKLCHoklch(60.55% 0.171 317.2)
XYZxyz(30.2810, 20.0148, 54.4820)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BC4 #75C45B
analogous
#765BC4 #AA5BC4 #C45BAA
triadic
#AA5BC4 #C4AA5B #5BC4AA
tetradic
#AA5BC4 #C4765B #75C45B #5BAAC4
square
#AA5BC4 #C4765B #75C45B #5BAAC4
split-complementary
#AA5BC4 #AAC45B #5BC476
monochromatic
#662C79 #8C3CA6 #AA5BC4 #C188D4 #D9B5E4

Accessibility & contrast

On white

4.20
#AA5BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AA5BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BC4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BC4#FFFFFF#000000##000000
##AA5BC41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4477C7
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#A96B87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5bc4;
/* rgb */ color: rgb(170, 91, 196);
/* oklch */ color: oklch(60.6% 0.171 317.2);
Tailwind
colors: {
  custom: {
    50: '#c68cd6',
    500: '#aa5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bc4;
$custom-light: #c68cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bc4",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 285.143,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.17111,
    "h": 317.2
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#AA5BC4
secondary
#B2D3A8
accent
#D75172
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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