#AA5CB1#AA5CB1

#AA5CB1 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.7% C 0.150 H 324.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AA5CB1
RGBrgb(170, 92, 177)
HSLhsl(295, 35%, 53%)
HSVhsv(295, 48%, 69%)
CMYKcmyk(4%, 48%, 0%, 30.6%)
CIE-LABlab(51.12, 44.70, -31.95)
CIE-LCHlch(51.12, 54.95, 324.45°)
OKLaboklab(59.71% 0.1217 -0.0879)
OKLCHoklch(59.71% 0.15 324.1)
XYZxyz(28.3398, 19.3760, 43.8336)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CB1 #63B15C
analogous
#7F5CB1 #AA5CB1 #B15C8D
triadic
#AA5CB1 #B1AA5C #5CB1AA
tetradic
#AA5CB1 #B17F5C #63B15C #5C8DB1
square
#AA5CB1 #B17F5C #63B15C #5C8DB1
split-complementary
#AA5CB1 #8DB15C #5CB17F
monochromatic
#5F2F63 #87438D #AA5CB1 #C085C5 #D5AFD9

Accessibility & contrast

On white

4.31
#AA5CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AA5CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CB1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CB1#FFFFFF#000000##000000
##AA5CB11.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#AD667E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5cb1;
/* rgb */ color: rgb(170, 92, 177);
/* oklch */ color: oklch(59.7% 0.150 324.1);
Tailwind
colors: {
  custom: {
    50: '#c58dc8',
    500: '#aa5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cb1;
$custom-light: #c58dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cb1",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 295.059,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.15008,
    "h": 324.1
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#AA5CB1
secondary
#A5C7A2
accent
#CB5C66
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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