#AA5CAA#AA5CAA

#AA5CAA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.4% C 0.143 H 327.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA5CAA
RGBrgb(170, 92, 170)
HSLhsl(300, 31%, 51%)
HSVhsv(300, 46%, 67%)
CMYKcmyk(0%, 45.9%, 0%, 33.3%)
CIE-LABlab(50.81, 43.37, -28.35)
CIE-LCHlch(50.81, 51.82, 326.83°)
OKLaboklab(59.37% 0.1204 -0.0776)
OKLCHoklch(59.37% 0.143 327.2)
XYZxyz(27.6599, 19.1040, 40.2529)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CAA #5CAA5C
analogous
#835CAA #AA5CAA #AA5C83
triadic
#AA5CAA #AAAA5C #5CAAAA
tetradic
#AA5CAA #AA835C #5CAA5C #5C83AA
square
#AA5CAA #AA835C #5CAA5C #5C83AA
split-complementary
#AA5CAA #83AA5C #5CAA83
monochromatic
#5C305C #844584 #AA5CAA #BF84BF #D4ACD4

Accessibility & contrast

On white

4.36
#AA5CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AA5CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CAA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CAA#FFFFFF#000000##000000
##AA5CAA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#6B7DA8
Tritanopia (blue-blind)
#AE647B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa5caa;
/* rgb */ color: rgb(170, 92, 170);
/* oklch */ color: oklch(59.4% 0.143 327.2);
Tailwind
colors: {
  custom: {
    50: '#c58dc3',
    500: '#aa5caa',
    950: '#000000',
  },
}
SCSS
$custom: #aa5caa;
$custom-light: #c58dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5caa",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.14325,
    "h": 327.2
  },
  "luminance": 0.19103
}

Semantic roles & 50–950 ramp

primary
#AA5CAA
secondary
#A0C2A0
accent
#C86060
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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