#AA57C8#AA57C8

#AA57C8 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.181 H 316.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA57C8
RGBrgb(170, 87, 200)
HSLhsl(284, 51%, 56%)
HSVhsv(284, 57%, 78%)
CMYKcmyk(15%, 56.5%, 0%, 21.6%)
CIE-LABlab(51.31, 51.86, -44.96)
CIE-LCHlch(51.31, 68.64, 319.08°)
OKLaboklab(60.22% 0.1311 -0.1255)
OKLCHoklch(60.22% 0.181 316.2)
XYZxyz(30.4095, 19.5336, 56.8009)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57C8 #75C857
analogous
#7257C8 #AA57C8 #C857AE
triadic
#AA57C8 #C8AA57 #57C8AA
tetradic
#AA57C8 #C87257 #75C857 #57AEC8
square
#AA57C8 #C87257 #75C857 #57AEC8
split-complementary
#AA57C8 #AEC857 #57C872
monochromatic
#66297C #8C38AA #AA57C8 #C185D7 #D9B3E6

Accessibility & contrast

On white

4.28
#AA57C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AA57C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57C8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57C8#FFFFFF#000000##000000
##AA57C81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#587DC5
Tritanopia (blue-blind)
#A86987
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa57c8;
/* rgb */ color: rgb(170, 87, 200);
/* oklch */ color: oklch(60.2% 0.181 316.2);
Tailwind
colors: {
  custom: {
    50: '#c68ad9',
    500: '#aa57c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa57c8;
$custom-light: #c68ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57c8",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 284.071,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60218,
    "c": 0.18148,
    "h": 316.2
  },
  "luminance": 0.19533
}

Semantic roles & 50–950 ramp

primary
#AA57C8
secondary
#B2D5A6
accent
#DA4E73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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