#AA57EC#AA57EC

#AA57EC is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.219 H 306.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AA57EC
RGBrgb(170, 87, 236)
HSLhsl(273, 80%, 63%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28%, 63.1%, 0%, 7.5%)
CIE-LABlab(53.40, 59.64, -62.02)
CIE-LCHlch(53.40, 86.04, 313.88°)
OKLaboklab(62.42% 0.131 -0.1755)
OKLCHoklch(62.42% 0.219 306.7)
XYZxyz(35.1229, 21.4189, 81.6246)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57EC #99EC57
analogous
#5F57EC #AA57EC #EC57E3
triadic
#AA57EC #ECAA57 #57ECAA
tetradic
#AA57EC #EC5F57 #99EC57 #57E3EC
square
#AA57EC #EC5F57 #99EC57 #57E3EC
split-complementary
#AA57EC #E3EC57 #57EC5F
monochromatic
#6D14B4 #8E20E6 #AA57EC #C68EF2 #E2C5F8

Accessibility & contrast

On white

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

On black

5.28
#AA57EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57EC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57EC#FFFFFF#000000##000000
##AA57EC1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#9F769A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa57ec;
/* rgb */ color: rgb(170, 87, 236);
/* oklch */ color: oklch(62.4% 0.219 306.7);
Tailwind
colors: {
  custom: {
    50: '#c88bf3',
    500: '#aa57ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ec;
$custom-light: #c88bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ec",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 273.423,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62419,
    "c": 0.21896,
    "h": 306.7
  },
  "luminance": 0.21419
}

Semantic roles & 50–950 ramp

primary
#AA57EC
secondary
#CCEAB5
accent
#DC0A67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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