#AA57CD#AA57CD

#AA57CD is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.187 H 314.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AA57CD
RGBrgb(170, 87, 205)
HSLhsl(282, 54%, 57%)
HSVhsv(282, 58%, 80%)
CMYKcmyk(17.1%, 57.6%, 0%, 19.6%)
CIE-LABlab(51.58, 52.90, -47.39)
CIE-LCHlch(51.58, 71.03, 318.15°)
OKLaboklab(60.5% 0.1313 -0.1326)
OKLCHoklch(60.5% 0.187 314.7)
XYZxyz(31.0034, 19.7712, 59.9288)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57CD #7ACD57
analogous
#6F57CD #AA57CD #CD57B5
triadic
#AA57CD #CDAA57 #57CDAA
tetradic
#AA57CD #CD6F57 #7ACD57 #57B5CD
square
#AA57CD #CD6F57 #7ACD57 #57B5CD
split-complementary
#AA57CD #B5CD57 #57CD6F
monochromatic
#672783 #8D35B2 #AA57CD #C286DB #DAB5E9

Accessibility & contrast

On white

4.24
#AA57CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AA57CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57CD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57CD#FFFFFF#000000##000000
##AA57CD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#A76B8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa57cd;
/* rgb */ color: rgb(170, 87, 205);
/* oklch */ color: oklch(60.5% 0.187 314.7);
Tailwind
colors: {
  custom: {
    50: '#c68add',
    500: '#aa57cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa57cd;
$custom-light: #c68add;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57cd",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 282.203,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.18664,
    "h": 314.7
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#AA57CD
secondary
#B6D8A8
accent
#DD4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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