#AA57E5#AA57E5

#AA57E5 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.212 H 308.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA57E5
RGBrgb(170, 87, 229)
HSLhsl(275, 73%, 62%)
HSVhsv(275, 62%, 90%)
CMYKcmyk(25.8%, 62%, 0%, 10.2%)
CIE-LABlab(52.97, 58.08, -58.78)
CIE-LCHlch(52.97, 82.64, 314.66°)
OKLaboklab(61.97% 0.1313 -0.166)
OKLCHoklch(61.97% 0.212 308.3)
XYZxyz(34.1258, 21.0201, 76.3731)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57E5 #92E557
analogous
#6357E5 #AA57E5 #E557D9
triadic
#AA57E5 #E5AA57 #57E5AA
tetradic
#AA57E5 #E56357 #92E557 #57D9E5
square
#AA57E5 #E56357 #92E557 #57D9E5
split-complementary
#AA57E5 #D9E557 #57E563
monochromatic
#6D1AA8 #8F22DD #AA57E5 #C58CED #E0C1F5

Accessibility & contrast

On white

4.04
#AA57E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AA57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57E5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57E5#FFFFFF#000000##000000
##AA57E51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#037BE9
Deuteranopia (green-blind)
#407FE2
Tritanopia (blue-blind)
#A17396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa57e5;
/* rgb */ color: rgb(170, 87, 229);
/* oklch */ color: oklch(62.0% 0.212 308.3);
Tailwind
colors: {
  custom: {
    50: '#c78bee',
    500: '#aa57e5',
    950: '#000000',
  },
}
SCSS
$custom: #aa57e5;
$custom-light: #c78bee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57e5",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 275.07,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.21163,
    "h": 308.3
  },
  "luminance": 0.2102
}

Semantic roles & 50–950 ramp

primary
#AA57E5
secondary
#C7E6B2
accent
#D51062
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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