#AA5FA3#AA5FA3

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

Color values

HEX#AA5FA3
RGBrgb(170, 95, 163)
HSLhsl(306, 31%, 52%)
HSVhsv(306, 44%, 67%)
CMYKcmyk(0%, 44.1%, 4.1%, 33.3%)
CIE-LABlab(51.12, 40.49, -23.77)
CIE-LCHlch(51.12, 46.95, 329.59°)
OKLaboklab(59.51% 0.1144 -0.0646)
OKLCHoklch(59.51% 0.131 330.6)
XYZxyz(27.2803, 19.3763, 36.9463)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FA3 #5FAA66
analogous
#8C5FAA #AA5FA3 #AA5F7E
triadic
#AA5FA3 #A3AA5F #5FA3AA
tetradic
#AA5FA3 #AA8C5F #5FAA66 #5F7EAA
square
#AA5FA3 #AA8C5F #5FAA66 #5F7EAA
split-complementary
#AA5FA3 #7EAA5F #5FAA8C
monochromatic
#5D3159 #85477F #AA5FA3 #BF87BA #D4AFD1

Accessibility & contrast

On white

4.31
#AA5FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FA3#FFFFFF#000000##000000
##AA5FA31.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A5
Deuteranopia (green-blind)
#707EA1
Tritanopia (blue-blind)
#AF6579
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5fa3;
/* rgb */ color: rgb(170, 95, 163);
/* oklch */ color: oklch(59.5% 0.131 330.6);
Tailwind
colors: {
  custom: {
    50: '#c58ebe',
    500: '#aa5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fa3;
$custom-light: #c58ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fa3",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 305.6,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5951,
    "c": 0.13141,
    "h": 330.6
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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