#AA5CB2#AA5CB2

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

Color values

HEX#AA5CB2
RGBrgb(170, 92, 178)
HSLhsl(294, 36%, 53%)
HSVhsv(294, 48%, 70%)
CMYKcmyk(4.5%, 48.3%, 0%, 30.2%)
CIE-LABlab(51.17, 44.90, -32.46)
CIE-LCHlch(51.17, 55.40, 324.14°)
OKLaboklab(59.76% 0.1218 -0.0894)
OKLCHoklch(59.76% 0.151 323.7)
XYZxyz(28.4398, 19.4160, 44.3605)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CB2 #64B25C
analogous
#7F5CB2 #AA5CB2 #B25C8F
triadic
#AA5CB2 #B2AA5C #5CB2AA
tetradic
#AA5CB2 #B27F5C #64B25C #5C8FB2
square
#AA5CB2 #B27F5C #64B25C #5C8FB2
split-complementary
#AA5CB2 #8FB25C #5CB27F
monochromatic
#5F2F64 #87438E #AA5CB2 #C086C6 #D5AFD9

Accessibility & contrast

On white

4.30
#AA5CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5CB2#FFFFFF#000000##000000
##AA5CB21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#AD667F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5cb2;
/* rgb */ color: rgb(170, 92, 178);
/* oklch */ color: oklch(59.8% 0.151 323.7);
Tailwind
colors: {
  custom: {
    50: '#c58dc9',
    500: '#aa5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cb2;
$custom-light: #c58dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cb2",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 294.419,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.15108,
    "h": 323.7
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#AA5CB2
secondary
#A6C7A2
accent
#CC5C66
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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