#AA579E#AA579E

#AA579E is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.1% C 0.141 H 332.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA579E
RGBrgb(170, 87, 158)
HSLhsl(309, 33%, 50%)
HSVhsv(309, 49%, 67%)
CMYKcmyk(0%, 48.8%, 7.1%, 33.3%)
CIE-LABlab(49.29, 43.79, -23.65)
CIE-LCHlch(49.29, 49.77, 331.63°)
OKLaboklab(58.08% 0.1254 -0.0642)
OKLCHoklch(58.08% 0.141 332.9)
XYZxyz(26.1572, 17.8327, 34.4054)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA579E #57AA63
analogous
#8C57AA #AA579E #AA5774
triadic
#AA579E #9EAA57 #579EAA
tetradic
#AA579E #AA8C57 #57AA63 #5774AA
square
#AA579E #AA8C57 #57AA63 #5774AA
split-complementary
#AA579E #74AA57 #57AA8C
monochromatic
#592D53 #824279 #AA579E #BF80B5 #D3A8CD

Accessibility & contrast

On white

4.60
#AA579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA579E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA579E#FFFFFF#000000##FFFFFF
##AA579E1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556EA0
Deuteranopia (green-blind)
#6D799C
Tritanopia (blue-blind)
#B05C73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa579e;
/* rgb */ color: rgb(170, 87, 158);
/* oklch */ color: oklch(58.1% 0.141 332.9);
Tailwind
colors: {
  custom: {
    50: '#c589bb',
    500: '#aa579e',
    950: '#000000',
  },
}
SCSS
$custom: #aa579e;
$custom-light: #c589bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa579e",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 308.675,
    "s": 32.806,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.14084,
    "h": 332.9
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#AA579E
secondary
#9CC1A1
accent
#C96E5F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AA579E

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

Preview Lab → · Contrast checker → · Palette generator →

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