#AA57BA#AA57BA

#AA57BA is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.4% C 0.167 H 320.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA57BA
RGBrgb(170, 87, 186)
HSLhsl(290, 42%, 54%)
HSVhsv(290, 53%, 73%)
CMYKcmyk(8.6%, 53.2%, 0%, 27.1%)
CIE-LABlab(50.58, 49.03, -38.03)
CIE-LCHlch(50.58, 62.05, 322.20°)
OKLaboklab(59.45% 0.1299 -0.1054)
OKLCHoklch(59.45% 0.167 320.9)
XYZxyz(28.8477, 18.9089, 48.5751)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57BA #67BA57
analogous
#7857BA #AA57BA #BA5798
triadic
#AA57BA #BAAA57 #57BAAA
tetradic
#AA57BA #BA7857 #67BA57 #5798BA
square
#AA57BA #BA7857 #67BA57 #5798BA
split-complementary
#AA57BA #98BA57 #57BA78
monochromatic
#612C6B #883E96 #AA57BA #C082CC #D6AEDE

Accessibility & contrast

On white

4.39
#AA57BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AA57BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57BA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57BA#FFFFFF#000000##000000
##AA57BA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4672BD
Deuteranopia (green-blind)
#607CB7
Tritanopia (blue-blind)
#AB6580
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa57ba;
/* rgb */ color: rgb(170, 87, 186);
/* oklch */ color: oklch(59.4% 0.167 320.9);
Tailwind
colors: {
  custom: {
    50: '#c58acf',
    500: '#aa57ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ba;
$custom-light: #c58acf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ba",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 290.303,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.16729,
    "h": 320.9
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#AA57BA
secondary
#A8CCA1
accent
#D2566A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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