#AA5FA5#AA5FA5

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

Color values

HEX#AA5FA5
RGBrgb(170, 95, 165)
HSLhsl(304, 31%, 52%)
HSVhsv(304, 44%, 67%)
CMYKcmyk(0%, 44.1%, 2.9%, 33.3%)
CIE-LABlab(51.21, 40.85, -24.81)
CIE-LCHlch(51.21, 47.80, 328.73°)
OKLaboklab(59.6% 0.1149 -0.0676)
OKLCHoklch(59.6% 0.133 329.5)
XYZxyz(27.4609, 19.4485, 37.8975)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FA5 #5FAA64
analogous
#8A5FAA #AA5FA5 #AA5F80
triadic
#AA5FA5 #A5AA5F #5FA5AA
tetradic
#AA5FA5 #AA8A5F #5FAA64 #5F80AA
square
#AA5FA5 #AA8A5F #5FAA64 #5F80AA
split-complementary
#AA5FA5 #80AA5F #5FAA8A
monochromatic
#5D315A #854781 #AA5FA5 #BF87BB #D4AFD2

Accessibility & contrast

On white

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

On black

4.89
#AA5FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FA5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FA5#FFFFFF#000000##000000
##AA5FA51.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74A7
Deuteranopia (green-blind)
#6F7EA3
Tritanopia (blue-blind)
#AF657A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5fa5;
/* rgb */ color: rgb(170, 95, 165);
/* oklch */ color: oklch(59.6% 0.133 329.5);
Tailwind
colors: {
  custom: {
    50: '#c58fc0',
    500: '#aa5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fa5;
$custom-light: #c58fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fa5",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 304,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.596,
    "c": 0.13328,
    "h": 329.5
  },
  "luminance": 0.19447
}

Semantic roles & 50–950 ramp

primary
#AA5FA5
secondary
#A2C3A4
accent
#C76861
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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