#AA579F#AA579F

#AA579F is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.1% C 0.142 H 332.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AA579F
RGBrgb(170, 87, 159)
HSLhsl(308, 33%, 50%)
HSVhsv(308, 49%, 67%)
CMYKcmyk(0%, 48.8%, 6.5%, 33.3%)
CIE-LABlab(49.33, 43.97, -24.18)
CIE-LCHlch(49.33, 50.18, 331.20°)
OKLaboklab(58.12% 0.1256 -0.0657)
OKLCHoklch(58.12% 0.142 332.4)
XYZxyz(26.2436, 17.8672, 34.8606)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA579F #57AA62
analogous
#8B57AA #AA579F #AA5775
triadic
#AA579F #9FAA57 #579FAA
tetradic
#AA579F #AA8B57 #57AA62 #5775AA
square
#AA579F #AA8B57 #57AA62 #5775AA
split-complementary
#AA579F #75AA57 #57AA8B
monochromatic
#592D54 #82427A #AA579F #BF80B6 #D3A8CD

Accessibility & contrast

On white

4.59
#AA579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AA579F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA579F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA579F#FFFFFF#000000##FFFFFF
##AA579F1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556EA1
Deuteranopia (green-blind)
#6C7A9D
Tritanopia (blue-blind)
#B05D74
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa579f;
/* rgb */ color: rgb(170, 87, 159);
/* oklch */ color: oklch(58.1% 0.142 332.4);
Tailwind
colors: {
  custom: {
    50: '#c589bb',
    500: '#aa579f',
    950: '#000000',
  },
}
SCSS
$custom: #aa579f;
$custom-light: #c589bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa579f",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 307.952,
    "s": 32.806,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.14172,
    "h": 332.4
  },
  "luminance": 0.17866
}

Semantic roles & 50–950 ramp

primary
#AA579F
secondary
#9CC1A1
accent
#C96D5F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AA579F

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

Preview Lab → · Contrast checker → · Palette generator →

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