#AA57DD#AA57DD

#AA57DD is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.203 H 310.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AA57DD
RGBrgb(170, 87, 221)
HSLhsl(277, 66%, 60%)
HSVhsv(277, 61%, 87%)
CMYKcmyk(23.1%, 60.6%, 0%, 13.3%)
CIE-LABlab(52.49, 56.33, -55.04)
CIE-LCHlch(52.49, 78.75, 315.66°)
OKLaboklab(61.46% 0.1315 -0.155)
OKLCHoklch(61.46% 0.203 310.3)
XYZxyz(33.0344, 20.5836, 70.6254)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57DD #8ADD57
analogous
#6757DD #AA57DD #DD57CD
triadic
#AA57DD #DDAA57 #57DDAA
tetradic
#AA57DD #DD6757 #8ADD57 #57CDDD
square
#AA57DD #DD6757 #8ADD57 #57CDDD
split-complementary
#AA57DD #CDDD57 #57DD67
monochromatic
#6C1F9A #8F2ACD #AA57DD #C48AE7 #DEBDF2

Accessibility & contrast

On white

4.10
#AA57DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AA57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57DD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57DD#FFFFFF#000000##000000
##AA57DD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E1
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#A37192
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa57dd;
/* rgb */ color: rgb(170, 87, 221);
/* oklch */ color: oklch(61.5% 0.203 310.3);
Tailwind
colors: {
  custom: {
    50: '#c78be8',
    500: '#aa57dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa57dd;
$custom-light: #c78be8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57dd",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 277.164,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.20327,
    "h": 310.3
  },
  "luminance": 0.20583
}

Semantic roles & 50–950 ramp

primary
#AA57DD
secondary
#C2E1AE
accent
#CE175D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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