#AA57FD#AA57FD

#AA57FD is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.6% C 0.237 H 303.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA57FD
RGBrgb(170, 87, 253)
HSLhsl(270, 98%, 67%)
HSVhsv(270, 66%, 99%)
CMYKcmyk(32.8%, 65.6%, 0%, 0.8%)
CIE-LABlab(54.51, 63.50, -69.72)
CIE-LCHlch(54.51, 94.31, 312.33°)
OKLaboklab(63.56% 0.1296 -0.1981)
OKLCHoklch(63.56% 0.237 303.2)
XYZxyz(37.7113, 22.4543, 95.2568)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57FD #AAFD57
analogous
#5757FD #AA57FD #FD57FD
triadic
#AA57FD #FDAA57 #57FDAA
tetradic
#AA57FD #FD5757 #AAFD57 #57FDFD
square
#AA57FD #FD5757 #AAFD57 #57FDFD
split-complementary
#AA57FD #FDFD57 #57FD57
monochromatic
#6D03D7 #8B1BFC #AA57FD #C993FE #E7D0FE

Accessibility & contrast

On white

3.82
#AA57FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AA57FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57FD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57FD#FFFFFF#000000##000000
##AA57FD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#1182F9
Tritanopia (blue-blind)
#9A7CA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa57fd;
/* rgb */ color: rgb(170, 87, 253);
/* oklch */ color: oklch(63.6% 0.237 303.2);
Tailwind
colors: {
  custom: {
    50: '#c98bff',
    500: '#aa57fd',
    950: '#000000',
  },
}
SCSS
$custom: #aa57fd;
$custom-light: #c98bff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57fd",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 270,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63561,
    "c": 0.23671,
    "h": 303.2
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#AA57FD
secondary
#D8F3BD
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AA57FD

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

Preview Lab → · Contrast checker → · Palette generator →

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