#AA57DC#AA57DC

#AA57DC is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.202 H 310.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AA57DC
RGBrgb(170, 87, 220)
HSLhsl(277, 66%, 60%)
HSVhsv(277, 60%, 86%)
CMYKcmyk(22.7%, 60.5%, 0%, 13.7%)
CIE-LABlab(52.43, 56.11, -54.57)
CIE-LCHlch(52.43, 78.27, 315.80°)
OKLaboklab(61.4% 0.1315 -0.1536)
OKLCHoklch(61.4% 0.202 310.6)
XYZxyz(32.9016, 20.5304, 69.9258)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57DC #89DC57
analogous
#6857DC #AA57DC #DC57CB
triadic
#AA57DC #DCAA57 #57DCAA
tetradic
#AA57DC #DC6857 #89DC57 #57CBDC
square
#AA57DC #DC6857 #89DC57 #57CBDC
split-complementary
#AA57DC #CBDC57 #57DC68
monochromatic
#6B2099 #8F2ACB #AA57DC #C48AE7 #DDBCF1

Accessibility & contrast

On white

4.11
#AA57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AA57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57DC#FFFFFF#000000##000000
##AA57DC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179E0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#A47092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa57dc;
/* rgb */ color: rgb(170, 87, 220);
/* oklch */ color: oklch(61.4% 0.202 310.6);
Tailwind
colors: {
  custom: {
    50: '#c78be7',
    500: '#aa57dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa57dc;
$custom-light: #c78be7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57dc",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 277.444,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.20223,
    "h": 310.6
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

primary
#AA57DC
secondary
#C1E1AE
accent
#CD185C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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