#AA57BD#AA57BD

#AA57BD is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.6% C 0.170 H 319.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA57BD
RGBrgb(170, 87, 189)
HSLhsl(289, 44%, 54%)
HSVhsv(289, 54%, 74%)
CMYKcmyk(10.1%, 54%, 0%, 25.9%)
CIE-LABlab(50.73, 49.63, -39.53)
CIE-LCHlch(50.73, 63.44, 321.46°)
OKLaboklab(59.61% 0.1302 -0.1097)
OKLCHoklch(59.61% 0.17 319.9)
XYZxyz(29.1699, 19.0378, 50.2724)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57BD #6ABD57
analogous
#7757BD #AA57BD #BD579D
triadic
#AA57BD #BDAA57 #57BDAA
tetradic
#AA57BD #BD7757 #6ABD57 #579DBD
square
#AA57BD #BD7757 #6ABD57 #579DBD
split-complementary
#AA57BD #9DBD57 #57BD77
monochromatic
#622B6E #893D9A #AA57BD #C083CE #D6AFE0

Accessibility & contrast

On white

4.37
#AA57BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AA57BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57BD#FFFFFF#000000##000000
##AA57BD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#AB6682
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa57bd;
/* rgb */ color: rgb(170, 87, 189);
/* oklch */ color: oklch(59.6% 0.170 319.9);
Tailwind
colors: {
  custom: {
    50: '#c68ad1',
    500: '#aa57bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa57bd;
$custom-light: #c68ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57bd",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 288.824,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.17029,
    "h": 319.9
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#AA57BD
secondary
#AACEA2
accent
#D3546C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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