#AA57CA#AA57CA

#AA57CA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.3% C 0.184 H 315.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA57CA
RGBrgb(170, 87, 202)
HSLhsl(283, 52%, 57%)
HSVhsv(283, 57%, 79%)
CMYKcmyk(15.8%, 56.9%, 0%, 20.8%)
CIE-LABlab(51.41, 52.28, -45.93)
CIE-LCHlch(51.41, 69.59, 318.70°)
OKLaboklab(60.33% 0.1312 -0.1284)
OKLCHoklch(60.33% 0.184 315.6)
XYZxyz(30.6448, 19.6277, 58.0399)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57CA #77CA57
analogous
#7157CA #AA57CA #CA57B1
triadic
#AA57CA #CAAA57 #57CAAA
tetradic
#AA57CA #CA7157 #77CA57 #57B1CA
square
#AA57CA #CA7157 #77CA57 #57B1CA
split-complementary
#AA57CA #B1CA57 #57CA71
monochromatic
#67287F #8C37AD #AA57CA #C286D9 #D9B4E7

Accessibility & contrast

On white

4.26
#AA57CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AA57CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57CA#FFFFFF#000000##000000
##AA57CA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#A86A88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa57ca;
/* rgb */ color: rgb(170, 87, 202);
/* oklch */ color: oklch(60.3% 0.184 315.6);
Tailwind
colors: {
  custom: {
    50: '#c68adb',
    500: '#aa57ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ca;
$custom-light: #c68adb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ca",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 283.304,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60331,
    "c": 0.18354,
    "h": 315.6
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#AA57CA
secondary
#B4D6A7
accent
#DB4C74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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