#AA57E7#AA57E7

#AA57E7 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.214 H 307.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA57E7
RGBrgb(170, 87, 231)
HSLhsl(275, 75%, 62%)
HSVhsv(275, 62%, 91%)
CMYKcmyk(26.4%, 62.3%, 0%, 9.4%)
CIE-LABlab(53.09, 58.53, -59.71)
CIE-LCHlch(53.09, 83.61, 314.42°)
OKLaboklab(62.1% 0.1312 -0.1687)
OKLCHoklch(62.1% 0.214 307.9)
XYZxyz(34.4066, 21.1324, 77.8522)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57E7 #94E757
analogous
#6257E7 #AA57E7 #E757DC
triadic
#AA57E7 #E7AA57 #57E7AA
tetradic
#AA57E7 #E76257 #94E757 #57DCE7
square
#AA57E7 #E76257 #94E757 #57DCE7
split-complementary
#AA57E7 #DCE757 #57E762
monochromatic
#6D18AB #8F21DF #AA57E7 #C58DEF #E0C2F6

Accessibility & contrast

On white

4.02
#AA57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AA57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57E7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57E7#FFFFFF#000000##000000
##AA57E71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa57e7;
/* rgb */ color: rgb(170, 87, 231);
/* oklch */ color: oklch(62.1% 0.214 307.9);
Tailwind
colors: {
  custom: {
    50: '#c78bef',
    500: '#aa57e7',
    950: '#000000',
  },
}
SCSS
$custom: #aa57e7;
$custom-light: #c78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57e7",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 274.583,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.21373,
    "h": 307.9
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#AA57E7
secondary
#C9E7B3
accent
#D70E63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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