#AA57B2#AA57B2

#AA57B2 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.0% C 0.159 H 324.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA57B2
RGBrgb(170, 87, 178)
HSLhsl(295, 37%, 52%)
HSVhsv(295, 51%, 70%)
CMYKcmyk(4.5%, 51.1%, 0%, 30.2%)
CIE-LABlab(50.19, 47.47, -33.99)
CIE-LCHlch(50.19, 58.39, 324.40°)
OKLaboklab(59.03% 0.1289 -0.0937)
OKLCHoklch(59.03% 0.159 324)
XYZxyz(28.0209, 18.5782, 44.2208)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57B2 #5FB257
analogous
#7D57B2 #AA57B2 #B2578D
triadic
#AA57B2 #B2AA57 #57B2AA
tetradic
#AA57B2 #B27D57 #5FB257 #578DB2
square
#AA57B2 #B27D57 #5FB257 #578DB2
split-complementary
#AA57B2 #8DB257 #57B27D
monochromatic
#5D2D62 #85408C #AA57B2 #BF81C5 #D4ABD8

Accessibility & contrast

On white

4.45
#AA57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AA57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57B2#FFFFFF#000000##000000
##AA57B21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#AD627C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa57b2;
/* rgb */ color: rgb(170, 87, 178);
/* oklch */ color: oklch(59.0% 0.159 324.0);
Tailwind
colors: {
  custom: {
    50: '#c58ac9',
    500: '#aa57b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa57b2;
$custom-light: #c58ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57b2",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 294.725,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.1594,
    "h": 324
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#AA57B2
secondary
#A2C69E
accent
#CD5B65
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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