#AA5FA6#AA5FA6

#AA5FA6 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.6% C 0.134 H 329.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA5FA6
RGBrgb(170, 95, 166)
HSLhsl(303, 31%, 52%)
HSVhsv(303, 44%, 67%)
CMYKcmyk(0%, 44.1%, 2.4%, 33.3%)
CIE-LABlab(51.25, 41.04, -25.33)
CIE-LCHlch(51.25, 48.23, 328.32°)
OKLaboklab(59.65% 0.1151 -0.069)
OKLCHoklch(59.65% 0.134 329)
XYZxyz(27.5523, 19.4851, 38.3787)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FA6 #5FAA63
analogous
#895FAA #AA5FA6 #AA5F81
triadic
#AA5FA6 #A6AA5F #5FA6AA
tetradic
#AA5FA6 #AA895F #5FAA63 #5F81AA
square
#AA5FA6 #AA895F #5FAA63 #5F81AA
split-complementary
#AA5FA6 #81AA5F #5FAA89
monochromatic
#5D315B #854782 #AA5FA6 #BF87BC #D4AFD2

Accessibility & contrast

On white

4.29
#AA5FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AA5FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FA6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FA6#FFFFFF#000000##000000
##AA5FA61.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74A8
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#AF657B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5fa6;
/* rgb */ color: rgb(170, 95, 166);
/* oklch */ color: oklch(59.6% 0.134 329.0);
Tailwind
colors: {
  custom: {
    50: '#c58fc0',
    500: '#aa5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fa6;
$custom-light: #c58fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fa6",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 303.2,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.13422,
    "h": 329
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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