#AA57EA#AA57EA

#AA57EA is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.3% C 0.217 H 307.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AA57EA
RGBrgb(170, 87, 234)
HSLhsl(274, 78%, 63%)
HSVhsv(274, 63%, 92%)
CMYKcmyk(27.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(53.28, 59.19, -61.10)
CIE-LCHlch(53.28, 85.07, 314.09°)
OKLaboklab(62.29% 0.1311 -0.1728)
OKLCHoklch(62.29% 0.217 307.2)
XYZxyz(34.8339, 21.3034, 80.1028)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57EA #97EA57
analogous
#6157EA #AA57EA #EA57E0
triadic
#AA57EA #EAAA57 #57EAAA
tetradic
#AA57EA #EA6157 #97EA57 #57E0EA
square
#AA57EA #EA6157 #97EA57 #57E0EA
split-complementary
#AA57EA #E0EA57 #57EA61
monochromatic
#6D16B1 #8E21E3 #AA57EA #C68DF1 #E1C4F8

Accessibility & contrast

On white

3.99
#AA57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AA57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57EA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57EA#FFFFFF#000000##000000
##AA57EA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#3A80E7
Tritanopia (blue-blind)
#A07599
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa57ea;
/* rgb */ color: rgb(170, 87, 234);
/* oklch */ color: oklch(62.3% 0.217 307.2);
Tailwind
colors: {
  custom: {
    50: '#c78bf1',
    500: '#aa57ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ea;
$custom-light: #c78bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ea",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 273.878,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62289,
    "c": 0.21687,
    "h": 307.2
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#AA57EA
secondary
#CBE9B4
accent
#DA0B65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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