#AA57EE#AA57EE

#AA57EE is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.221 H 306.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AA57EE
RGBrgb(170, 87, 238)
HSLhsl(273, 82%, 64%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28.6%, 63.4%, 0%, 6.7%)
CIE-LABlab(53.53, 60.09, -62.94)
CIE-LCHlch(53.53, 87.02, 313.67°)
OKLaboklab(62.55% 0.1308 -0.1782)
OKLCHoklch(62.55% 0.221 306.3)
XYZxyz(35.4151, 21.5358, 83.1635)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57EE #9BEE57
analogous
#5E57EE #AA57EE #EE57E7
triadic
#AA57EE #EEAA57 #57EEAA
tetradic
#AA57EE #EE5E57 #9BEE57 #57E7EE
square
#AA57EE #EE5E57 #9BEE57 #57E7EE
split-complementary
#AA57EE #E7EE57 #57EE5E
monochromatic
#6E13B8 #8E1FE8 #AA57EE #C68FF4 #E2C6F9

Accessibility & contrast

On white

3.96
#AA57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AA57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57EE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57EE#FFFFFF#000000##000000
##AA57EE1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#3480EB
Tritanopia (blue-blind)
#9F779B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa57ee;
/* rgb */ color: rgb(170, 87, 238);
/* oklch */ color: oklch(62.5% 0.221 306.3);
Tailwind
colors: {
  custom: {
    50: '#c88bf4',
    500: '#aa57ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ee;
$custom-light: #c88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ee",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 272.98,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.22104,
    "h": 306.3
  },
  "luminance": 0.21535
}

Semantic roles & 50–950 ramp

primary
#AA57EE
secondary
#CEEBB6
accent
#DE0868
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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