#AA57BF#AA57BF

#AA57BF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.7% C 0.172 H 319.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA57BF
RGBrgb(170, 87, 191)
HSLhsl(288, 45%, 55%)
HSVhsv(288, 54%, 75%)
CMYKcmyk(11%, 54.5%, 0%, 25.1%)
CIE-LABlab(50.83, 50.03, -40.52)
CIE-LCHlch(50.83, 64.38, 320.99°)
OKLaboklab(59.72% 0.1304 -0.1126)
OKLCHoklch(59.72% 0.172 319.2)
XYZxyz(29.3885, 19.1252, 51.4236)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57BF #6CBF57
analogous
#7657BF #AA57BF #BF57A0
triadic
#AA57BF #BFAA57 #57BFAA
tetradic
#AA57BF #BF7657 #6CBF57 #57A0BF
square
#AA57BF #BF7657 #6CBF57 #57A0BF
split-complementary
#AA57BF #A0BF57 #57BF76
monochromatic
#632B71 #893C9D #AA57BF #C083D0 #D7B0E1

Accessibility & contrast

On white

4.35
#AA57BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AA57BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57BF#FFFFFF#000000##000000
##AA57BF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#AA6683
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa57bf;
/* rgb */ color: rgb(170, 87, 191);
/* oklch */ color: oklch(59.7% 0.172 319.2);
Tailwind
colors: {
  custom: {
    50: '#c68ad3',
    500: '#aa57bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa57bf;
$custom-light: #c68ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57bf",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 287.885,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.17231,
    "h": 319.2
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#AA57BF
secondary
#ACCFA3
accent
#D5536D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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