#AA57ED#AA57ED

#AA57ED is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.220 H 306.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AA57ED
RGBrgb(170, 87, 237)
HSLhsl(273, 81%, 64%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28.3%, 63.3%, 0%, 7.1%)
CIE-LABlab(53.47, 59.87, -62.48)
CIE-LCHlch(53.47, 86.53, 313.78°)
OKLaboklab(62.48% 0.1309 -0.1768)
OKLCHoklch(62.48% 0.22 306.5)
XYZxyz(35.2686, 21.4772, 82.3919)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57ED #9AED57
analogous
#5F57ED #AA57ED #ED57E5
triadic
#AA57ED #EDAA57 #57EDAA
tetradic
#AA57ED #ED5F57 #9AED57 #57E5ED
square
#AA57ED #ED5F57 #9AED57 #57E5ED
split-complementary
#AA57ED #E5ED57 #57ED5F
monochromatic
#6D14B6 #8E20E7 #AA57ED #C68EF3 #E2C6F9

Accessibility & contrast

On white

3.97
#AA57ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AA57ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57ED
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57ED#FFFFFF#000000##000000
##AA57ED1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#3680EA
Tritanopia (blue-blind)
#9F769A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa57ed;
/* rgb */ color: rgb(170, 87, 237);
/* oklch */ color: oklch(62.5% 0.220 306.5);
Tailwind
colors: {
  custom: {
    50: '#c88bf4',
    500: '#aa57ed',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ed;
$custom-light: #c88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ed",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 273.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62484,
    "c": 0.22001,
    "h": 306.5
  },
  "luminance": 0.21477
}

Semantic roles & 50–950 ramp

primary
#AA57ED
secondary
#CDEAB5
accent
#DD0967
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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