#AA57DA#AA57DA

#AA57DA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.200 H 311.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AA57DA
RGBrgb(170, 87, 218)
HSLhsl(278, 64%, 60%)
HSVhsv(278, 60%, 85%)
CMYKcmyk(22%, 60.1%, 0%, 14.5%)
CIE-LABlab(52.31, 55.67, -53.62)
CIE-LCHlch(52.31, 77.30, 316.08°)
OKLaboklab(61.28% 0.1316 -0.1508)
OKLCHoklch(61.28% 0.2 311.1)
XYZxyz(32.6383, 20.4251, 68.5392)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57DA #87DA57
analogous
#6957DA #AA57DA #DA57C9
triadic
#AA57DA #DAAA57 #57DAAA
tetradic
#AA57DA #DA6957 #87DA57 #57C9DA
square
#AA57DA #DA6957 #87DA57 #57C9DA
split-complementary
#AA57DA #C9DA57 #57DA69
monochromatic
#6B2196 #8F2CC8 #AA57DA #C389E5 #DDBBF0

Accessibility & contrast

On white

4.13
#AA57DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AA57DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57DA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57DA#FFFFFF#000000##000000
##AA57DA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DE
Deuteranopia (green-blind)
#4B7ED7
Tritanopia (blue-blind)
#A47090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa57da;
/* rgb */ color: rgb(170, 87, 218);
/* oklch */ color: oklch(61.3% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#c78be6',
    500: '#aa57da',
    950: '#000000',
  },
}
SCSS
$custom: #aa57da;
$custom-light: #c78be6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57da",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 278.015,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.20015,
    "h": 311.1
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#AA57DA
secondary
#C0E0AD
accent
#E7417E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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