#AA57E8#AA57E8

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

Color values

HEX#AA57E8
RGBrgb(170, 87, 232)
HSLhsl(274, 76%, 63%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(26.7%, 62.5%, 0%, 9%)
CIE-LABlab(53.16, 58.75, -60.18)
CIE-LCHlch(53.16, 84.10, 314.31°)
OKLaboklab(62.16% 0.1312 -0.1701)
OKLCHoklch(62.16% 0.215 307.6)
XYZxyz(34.5482, 21.1891, 78.5982)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57E8 #95E857
analogous
#6257E8 #AA57E8 #E857DD
triadic
#AA57E8 #E8AA57 #57E8AA
tetradic
#AA57E8 #E86257 #95E857 #57DDE8
square
#AA57E8 #E86257 #95E857 #57DDE8
split-complementary
#AA57E8 #DDE857 #57E862
monochromatic
#6D18AD #8F21E1 #AA57E8 #C58DEF #E0C3F7

Accessibility & contrast

On white

4.01
#AA57E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AA57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57E8#FFFFFF#000000##000000
##AA57E81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa57e8;
/* rgb */ color: rgb(170, 87, 232);
/* oklch */ color: oklch(62.2% 0.215 307.6);
Tailwind
colors: {
  custom: {
    50: '#c78bf0',
    500: '#aa57e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa57e8;
$custom-light: #c78bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57e8",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 274.345,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62159,
    "c": 0.21478,
    "h": 307.6
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#AA57E8
secondary
#CAE8B3
accent
#D80D64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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