#AA57E9#AA57E9

#AA57E9 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.216 H 307.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AA57E9
RGBrgb(170, 87, 233)
HSLhsl(274, 77%, 63%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27%, 62.7%, 0%, 8.6%)
CIE-LABlab(53.22, 58.97, -60.64)
CIE-LCHlch(53.22, 84.58, 314.20°)
OKLaboklab(62.22% 0.1311 -0.1714)
OKLCHoklch(62.22% 0.216 307.4)
XYZxyz(34.6907, 21.2461, 79.3484)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57E9 #96E957
analogous
#6157E9 #AA57E9 #E957DF
triadic
#AA57E9 #E9AA57 #57E9AA
tetradic
#AA57E9 #E96157 #96E957 #57DFE9
square
#AA57E9 #E96157 #96E957 #57DFE9
split-complementary
#AA57E9 #DFE957 #57E961
monochromatic
#6D17AF #8F21E2 #AA57E9 #C58DF0 #E1C3F7

Accessibility & contrast

On white

4.00
#AA57E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AA57E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57E9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57E9#FFFFFF#000000##000000
##AA57E91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#3B80E6
Tritanopia (blue-blind)
#A07598
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa57e9;
/* rgb */ color: rgb(170, 87, 233);
/* oklch */ color: oklch(62.2% 0.216 307.4);
Tailwind
colors: {
  custom: {
    50: '#c78bf1',
    500: '#aa57e9',
    950: '#000000',
  },
}
SCSS
$custom: #aa57e9;
$custom-light: #c78bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57e9",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 274.11,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62224,
    "c": 0.21582,
    "h": 307.4
  },
  "luminance": 0.21246
}

Semantic roles & 50–950 ramp

primary
#AA57E9
secondary
#CAE8B3
accent
#D90C65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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