#AA5FA4#AA5FA4

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

Color values

HEX#AA5FA4
RGBrgb(170, 95, 164)
HSLhsl(305, 31%, 52%)
HSVhsv(305, 44%, 67%)
CMYKcmyk(0%, 44.1%, 3.5%, 33.3%)
CIE-LABlab(51.17, 40.67, -24.29)
CIE-LCHlch(51.17, 47.37, 329.16°)
OKLaboklab(59.56% 0.1147 -0.0661)
OKLCHoklch(59.56% 0.132 330)
XYZxyz(27.3703, 19.4123, 37.4200)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FA4 #5FAA65
analogous
#8B5FAA #AA5FA4 #AA5F7F
triadic
#AA5FA4 #A4AA5F #5FA4AA
tetradic
#AA5FA4 #AA8B5F #5FAA65 #5F7FAA
square
#AA5FA4 #AA8B5F #5FAA65 #5F7FAA
split-complementary
#AA5FA4 #7FAA5F #5FAA8B
monochromatic
#5D315A #854780 #AA5FA4 #BF87BB #D4AFD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FA4#FFFFFF#000000##000000
##AA5FA41.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)
#5B73A6
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#AF657A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5fa4;
/* rgb */ color: rgb(170, 95, 164);
/* oklch */ color: oklch(59.6% 0.132 330.0);
Tailwind
colors: {
  custom: {
    50: '#c58ebf',
    500: '#aa5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fa4;
$custom-light: #c58ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fa4",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 304.8,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.13235,
    "h": 330
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#AA5FA4
secondary
#A2C3A5
accent
#C76961
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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