#AA57CC#AA57CC

#AA57CC is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.186 H 315.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA57CC
RGBrgb(170, 87, 204)
HSLhsl(283, 53%, 57%)
HSVhsv(283, 57%, 80%)
CMYKcmyk(16.7%, 57.4%, 0%, 20%)
CIE-LABlab(51.52, 52.70, -46.91)
CIE-LCHlch(51.52, 70.55, 318.33°)
OKLaboklab(60.45% 0.1313 -0.1312)
OKLCHoklch(60.45% 0.186 315)
XYZxyz(30.8831, 19.7230, 59.2951)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57CC #79CC57
analogous
#7057CC #AA57CC #CC57B4
triadic
#AA57CC #CCAA57 #57CCAA
tetradic
#AA57CC #CC7057 #79CC57 #57B4CC
square
#AA57CC #CC7057 #79CC57 #57B4CC
split-complementary
#AA57CC #B4CC57 #57CC70
monochromatic
#672781 #8D36B0 #AA57CC #C286DA #DAB5E9

Accessibility & contrast

On white

4.25
#AA57CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA57CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57CC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57CC#FFFFFF#000000##000000
##AA57CC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#A86B89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa57cc;
/* rgb */ color: rgb(170, 87, 204);
/* oklch */ color: oklch(60.4% 0.186 315.0);
Tailwind
colors: {
  custom: {
    50: '#c68adc',
    500: '#aa57cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa57cc;
$custom-light: #c68adc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57cc",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 282.564,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.18561,
    "h": 315
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#AA57CC
secondary
#B5D7A8
accent
#DD4B75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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