#AA57E6#AA57E6

#AA57E6 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.213 H 308.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA57E6
RGBrgb(170, 87, 230)
HSLhsl(275, 74%, 62%)
HSVhsv(275, 62%, 90%)
CMYKcmyk(26.1%, 62.2%, 0%, 9.8%)
CIE-LABlab(53.03, 58.30, -59.25)
CIE-LCHlch(53.03, 83.13, 314.54°)
OKLaboklab(62.03% 0.1313 -0.1673)
OKLCHoklch(62.03% 0.213 308.1)
XYZxyz(34.2658, 21.0761, 77.1105)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57E6 #93E657
analogous
#6357E6 #AA57E6 #E657DB
triadic
#AA57E6 #E6AA57 #57E6AA
tetradic
#AA57E6 #E66357 #93E657 #57DBE6
square
#AA57E6 #E66357 #93E657 #57DBE6
split-complementary
#AA57E6 #DBE657 #57E663
monochromatic
#6D19A9 #8F22DE #AA57E6 #C58CEE #E0C2F6

Accessibility & contrast

On white

4.03
#AA57E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA57E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57E6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57E6#FFFFFF#000000##000000
##AA57E61.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#A17497
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa57e6;
/* rgb */ color: rgb(170, 87, 230);
/* oklch */ color: oklch(62.0% 0.213 308.1);
Tailwind
colors: {
  custom: {
    50: '#c78bef',
    500: '#aa57e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa57e6;
$custom-light: #c78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57e6",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 274.825,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62031,
    "c": 0.21268,
    "h": 308.1
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#AA57E6
secondary
#C8E7B2
accent
#D60F63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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