#AA57FF#AA57FF

#AA57FF is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.7% C 0.239 H 302.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA57FF
RGBrgb(170, 87, 255)
HSLhsl(270, 100%, 67%)
HSVhsv(270, 66%, 100%)
CMYKcmyk(33.3%, 65.9%, 0%, 0%)
CIE-LABlab(54.64, 63.96, -70.61)
CIE-LCHlch(54.64, 95.28, 312.17°)
OKLaboklab(63.7% 0.1293 -0.2007)
OKLCHoklch(63.7% 0.239 302.8)
XYZxyz(38.0315, 22.5824, 96.9436)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57FF #ACFF57
analogous
#5758FF #AA57FF #FE57FF
triadic
#AA57FF #FFAA57 #57FFAA
tetradic
#AA57FF #FF5758 #ACFF57 #57FFFE
square
#AA57FF #FF5758 #ACFF57 #57FFFE
split-complementary
#AA57FF #FFFE57 #58FF57
monochromatic
#6C00DC #8B1AFF #AA57FF #C994FF #E8D1FF

Accessibility & contrast

On white

3.81
#AA57FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AA57FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57FF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57FF#FFFFFF#000000##000000
##AA57FF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0682FB
Tritanopia (blue-blind)
#997DA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa57ff;
/* rgb */ color: rgb(170, 87, 255);
/* oklch */ color: oklch(63.7% 0.239 302.8);
Tailwind
colors: {
  custom: {
    50: '#c98bff',
    500: '#aa57ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa57ff;
$custom-light: #c98bff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57ff",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 269.643,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.637,
    "c": 0.23878,
    "h": 302.8
  },
  "luminance": 0.22582
}

Semantic roles & 50–950 ramp

primary
#AA57FF
secondary
#D9F4BE
accent
#E60074
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AA57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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