#AA57AF#AA57AF

#AA57AF is a mid, vivid purple. Relative luminance 0.185; OKLCH L 58.9% C 0.156 H 325.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AA57AF
RGBrgb(170, 87, 175)
HSLhsl(297, 35%, 51%)
HSVhsv(297, 50%, 69%)
CMYKcmyk(2.9%, 50.3%, 0%, 31.4%)
CIE-LABlab(50.05, 46.90, -32.46)
CIE-LCHlch(50.05, 57.04, 325.31°)
OKLaboklab(58.88% 0.1285 -0.0893)
OKLCHoklch(58.88% 0.156 325.2)
XYZxyz(27.7230, 18.4590, 42.6518)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57AF #5CAF57
analogous
#7E57AF #AA57AF #AF5788
triadic
#AA57AF #AFAA57 #57AFAA
tetradic
#AA57AF #AF7E57 #5CAF57 #5788AF
square
#AA57AF #AF7E57 #5CAF57 #5788AF
split-complementary
#AA57AF #88AF57 #57AF7E
monochromatic
#5C2D5F #844188 #AA57AF #BF80C3 #D4AAD6

Accessibility & contrast

On white

4.48
#AA57AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AA57AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57AF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57AF#FFFFFF#000000##000000
##AA57AF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#AE617B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa57af;
/* rgb */ color: rgb(170, 87, 175);
/* oklch */ color: oklch(58.9% 0.156 325.2);
Tailwind
colors: {
  custom: {
    50: '#c58ac7',
    500: '#aa57af',
    950: '#000000',
  },
}
SCSS
$custom: #aa57af;
$custom-light: #c58ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57af",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 296.591,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58883,
    "c": 0.15649,
    "h": 325.2
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#AA57AF
secondary
#A0C49E
accent
#CC5C63
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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