#AA57CF#AA57CF

#AA57CF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.6% C 0.189 H 314.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA57CF
RGBrgb(170, 87, 207)
HSLhsl(282, 56%, 58%)
HSVhsv(282, 58%, 81%)
CMYKcmyk(17.9%, 58%, 0%, 18.8%)
CIE-LABlab(51.69, 53.32, -48.36)
CIE-LCHlch(51.69, 71.99, 317.80°)
OKLaboklab(60.62% 0.1314 -0.1354)
OKLCHoklch(60.62% 0.189 314.1)
XYZxyz(31.2464, 19.8683, 61.2084)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57CF #7CCF57
analogous
#6E57CF #AA57CF #CF57B8
triadic
#AA57CF #CFAA57 #57CFAA
tetradic
#AA57CF #CF6E57 #7CCF57 #57B8CF
square
#AA57CF #CF6E57 #7CCF57 #57B8CF
split-complementary
#AA57CF #B8CF57 #57CF6E
monochromatic
#682685 #8D34B5 #AA57CF #C287DD #DAB6EA

Accessibility & contrast

On white

4.22
#AA57CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA57CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57CF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57CF#FFFFFF#000000##000000
##AA57CF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3377D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#A76C8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa57cf;
/* rgb */ color: rgb(170, 87, 207);
/* oklch */ color: oklch(60.6% 0.189 314.1);
Tailwind
colors: {
  custom: {
    50: '#c68ade',
    500: '#aa57cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa57cf;
$custom-light: #c68ade;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57cf",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 281.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.18871,
    "h": 314.1
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#AA57CF
secondary
#B8D9A9
accent
#DF4977
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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