#AA5FA0#AA5FA0

#AA5FA0 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.4% C 0.129 H 332.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AA5FA0
RGBrgb(170, 95, 160)
HSLhsl(308, 31%, 52%)
HSVhsv(308, 44%, 67%)
CMYKcmyk(0%, 44.1%, 5.9%, 33.3%)
CIE-LABlab(51.00, 39.94, -22.19)
CIE-LCHlch(51.00, 45.70, 330.94°)
OKLaboklab(59.38% 0.1137 -0.0602)
OKLCHoklch(59.38% 0.129 332.1)
XYZxyz(27.0147, 19.2700, 35.5474)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FA0 #5FAA69
analogous
#8F5FAA #AA5FA0 #AA5F7B
triadic
#AA5FA0 #A0AA5F #5FA0AA
tetradic
#AA5FA0 #AA8F5F #5FAA69 #5F7BAA
square
#AA5FA0 #AA8F5F #5FAA69 #5F7BAA
split-complementary
#AA5FA0 #7BAA5F #5FAA8F
monochromatic
#5D3157 #85477D #AA5FA0 #BF87B8 #D4AFCF

Accessibility & contrast

On white

4.33
#AA5FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AA5FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FA0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FA0#FFFFFF#000000##000000
##AA5FA01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A2
Deuteranopia (green-blind)
#717D9E
Tritanopia (blue-blind)
#B06478
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa5fa0;
/* rgb */ color: rgb(170, 95, 160);
/* oklch */ color: oklch(59.4% 0.129 332.1);
Tailwind
colors: {
  custom: {
    50: '#c58ebc',
    500: '#aa5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fa0;
$custom-light: #c58ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fa0",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 308,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.12867,
    "h": 332.1
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#AA5FA0
secondary
#A2C3A6
accent
#C76F61
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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