#AA57E4#AA57E4

#AA57E4 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.211 H 308.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AA57E4
RGBrgb(170, 87, 228)
HSLhsl(275, 72%, 62%)
HSVhsv(275, 62%, 89%)
CMYKcmyk(25.4%, 61.8%, 0%, 10.6%)
CIE-LABlab(52.91, 57.86, -58.32)
CIE-LCHlch(52.91, 82.15, 314.77°)
OKLaboklab(61.9% 0.1314 -0.1646)
OKLCHoklch(61.9% 0.211 308.6)
XYZxyz(33.9865, 20.9644, 75.6399)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57E4 #91E457
analogous
#6457E4 #AA57E4 #E457D8
triadic
#AA57E4 #E4AA57 #57E4AA
tetradic
#AA57E4 #E46457 #91E457 #57D8E4
square
#AA57E4 #E46457 #91E457 #57D8E4
split-complementary
#AA57E4 #D8E457 #57E464
monochromatic
#6D1BA6 #8F23DB #AA57E4 #C58CEC #DFC0F5

Accessibility & contrast

On white

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

On black

5.19
#AA57E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57E4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57E4#FFFFFF#000000##000000
##AA57E41.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#097BE8
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#A17396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa57e4;
/* rgb */ color: rgb(170, 87, 228);
/* oklch */ color: oklch(61.9% 0.211 308.6);
Tailwind
colors: {
  custom: {
    50: '#c78bed',
    500: '#aa57e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa57e4;
$custom-light: #c78bed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57e4",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 275.319,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61903,
    "c": 0.21059,
    "h": 308.6
  },
  "luminance": 0.20964
}

Semantic roles & 50–950 ramp

primary
#AA57E4
secondary
#C7E6B1
accent
#D41161
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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