#AA5CB8#AA5CB8

#AA5CB8 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.1% C 0.157 H 321.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA5CB8
RGBrgb(170, 92, 184)
HSLhsl(291, 39%, 54%)
HSVhsv(291, 50%, 72%)
CMYKcmyk(7.6%, 50%, 0%, 27.8%)
CIE-LABlab(51.45, 46.07, -35.50)
CIE-LCHlch(51.45, 58.16, 322.39°)
OKLaboklab(60.06% 0.1227 -0.0981)
OKLCHoklch(60.06% 0.157 321.4)
XYZxyz(29.0555, 19.6623, 47.6028)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CB8 #6AB85C
analogous
#7C5CB8 #AA5CB8 #B85C98
triadic
#AA5CB8 #B8AA5C #5CB8AA
tetradic
#AA5CB8 #B87C5C #6AB85C #5C98B8
square
#AA5CB8 #B87C5C #6AB85C #5C98B8
split-complementary
#AA5CB8 #98B85C #5CB87C
monochromatic
#622F6B #894196 #AA5CB8 #C087CB #D6B1DD

Accessibility & contrast

On white

4.26
#AA5CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AA5CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CB8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CB8#FFFFFF#000000##000000
##AA5CB81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BB
Deuteranopia (green-blind)
#657EB5
Tritanopia (blue-blind)
#AC6882
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5cb8;
/* rgb */ color: rgb(170, 92, 184);
/* oklch */ color: oklch(60.1% 0.157 321.4);
Tailwind
colors: {
  custom: {
    50: '#c58dcd',
    500: '#aa5cb8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cb8;
$custom-light: #c58dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cb8",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 290.87,
    "s": 39.316,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60062,
    "c": 0.15712,
    "h": 321.4
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#AA5CB8
secondary
#AACBA4
accent
#CF596B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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