#AA57EF#AA57EF

#AA57EF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.222 H 306.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AA57EF
RGBrgb(170, 87, 239)
HSLhsl(273, 83%, 64%)
HSVhsv(273, 64%, 94%)
CMYKcmyk(28.9%, 63.6%, 0%, 6.3%)
CIE-LABlab(53.59, 60.32, -63.40)
CIE-LCHlch(53.59, 87.50, 313.57°)
OKLaboklab(62.62% 0.1308 -0.1795)
OKLCHoklch(62.62% 0.222 306.1)
XYZxyz(35.5624, 21.5947, 83.9394)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57EF #9CEF57
analogous
#5E57EF #AA57EF #EF57E8
triadic
#AA57EF #EFAA57 #57EFAA
tetradic
#AA57EF #EF5E57 #9CEF57 #57E8EF
square
#AA57EF #EF5E57 #9CEF57 #57E8EF
split-complementary
#AA57EF #E8EF57 #57EF5E
monochromatic
#6E12BA #8E1FEA #AA57EF #C68FF4 #E3C7FA

Accessibility & contrast

On white

3.95
#AA57EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AA57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57EF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57EF#FFFFFF#000000##000000
##AA57EF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#3380EC
Tritanopia (blue-blind)
#9E779B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa57ef;
/* rgb */ color: rgb(170, 87, 239);
/* oklch */ color: oklch(62.6% 0.222 306.1);
Tailwind
colors: {
  custom: {
    50: '#c88bf5',
    500: '#aa57ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ef;
$custom-light: #c88bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ef",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 272.763,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62616,
    "c": 0.2221,
    "h": 306.1
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#AA57EF
secondary
#CEECB6
accent
#DF0669
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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