#AA57F2#AA57F2

#AA57F2 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.8% C 0.225 H 305.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AA57F2
RGBrgb(170, 87, 242)
HSLhsl(272, 86%, 65%)
HSVhsv(272, 64%, 95%)
CMYKcmyk(29.8%, 64%, 0%, 5.1%)
CIE-LABlab(53.79, 60.99, -64.76)
CIE-LCHlch(53.79, 88.96, 313.28°)
OKLaboklab(62.82% 0.1306 -0.1835)
OKLCHoklch(62.82% 0.225 305.4)
XYZxyz(36.0093, 21.7735, 86.2929)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57F2 #9FF257
analogous
#5D57F2 #AA57F2 #F257EC
triadic
#AA57F2 #F2AA57 #57F2AA
tetradic
#AA57F2 #F25D57 #9FF257 #57ECF2
square
#AA57F2 #F25D57 #9FF257 #57ECF2
split-complementary
#AA57F2 #ECF257 #57F25D
monochromatic
#6E0FC0 #8D1EEE #AA57F2 #C790F6 #E3C9FB

Accessibility & contrast

On white

3.92
#AA57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AA57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57F2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57F2#FFFFFF#000000##000000
##AA57F21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#2E81EF
Tritanopia (blue-blind)
#9D789D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa57f2;
/* rgb */ color: rgb(170, 87, 242);
/* oklch */ color: oklch(62.8% 0.225 305.4);
Tailwind
colors: {
  custom: {
    50: '#c88bf7',
    500: '#aa57f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa57f2;
$custom-light: #c88bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57f2",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 272.129,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62815,
    "c": 0.22523,
    "h": 305.4
  },
  "luminance": 0.21773
}

Semantic roles & 50–950 ramp

primary
#AA57F2
secondary
#D1EDB8
accent
#E2036B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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