#AA57EB#AA57EB

#AA57EB is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.218 H 307.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AA57EB
RGBrgb(170, 87, 235)
HSLhsl(274, 79%, 63%)
HSVhsv(274, 63%, 92%)
CMYKcmyk(27.7%, 63%, 0%, 7.8%)
CIE-LABlab(53.34, 59.42, -61.56)
CIE-LCHlch(53.34, 85.56, 313.99°)
OKLaboklab(62.35% 0.131 -0.1741)
OKLCHoklch(62.35% 0.218 307)
XYZxyz(34.9780, 21.3610, 80.8616)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57EB #98EB57
analogous
#6057EB #AA57EB #EB57E2
triadic
#AA57EB #EBAA57 #57EBAA
tetradic
#AA57EB #EB6057 #98EB57 #57E2EB
square
#AA57EB #EB6057 #98EB57 #57E2EB
split-complementary
#AA57EB #E2EB57 #57EB60
monochromatic
#6D15B2 #8E20E4 #AA57EB #C68EF2 #E1C4F8

Accessibility & contrast

On white

3.98
#AA57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AA57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57EB#FFFFFF#000000##000000
##AA57EB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#9F7699
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa57eb;
/* rgb */ color: rgb(170, 87, 235);
/* oklch */ color: oklch(62.4% 0.218 307.0);
Tailwind
colors: {
  custom: {
    50: '#c88bf2',
    500: '#aa57eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa57eb;
$custom-light: #c88bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57eb",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 273.649,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.21791,
    "h": 307
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

primary
#AA57EB
secondary
#CCE9B4
accent
#DB0A66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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