#AA57E2#AA57E2

#AA57E2 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.208 H 309.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA57E2
RGBrgb(170, 87, 226)
HSLhsl(276, 71%, 61%)
HSVhsv(276, 62%, 89%)
CMYKcmyk(24.8%, 61.5%, 0%, 11.4%)
CIE-LABlab(52.79, 57.42, -57.39)
CIE-LCHlch(52.79, 81.18, 315.02°)
OKLaboklab(61.78% 0.1314 -0.1619)
OKLCHoklch(61.78% 0.209 309.1)
XYZxyz(33.7105, 20.8540, 74.1861)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57E2 #8FE257
analogous
#6557E2 #AA57E2 #E257D5
triadic
#AA57E2 #E2AA57 #57E2AA
tetradic
#AA57E2 #E26557 #8FE257 #57D5E2
square
#AA57E2 #E26557 #8FE257 #57D5E2
split-complementary
#AA57E2 #D5E257 #57E265
monochromatic
#6C1CA3 #8F25D7 #AA57E2 #C48BEB #DFBFF4

Accessibility & contrast

On white

4.06
#AA57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AA57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57E2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57E2#FFFFFF#000000##000000
##AA57E21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#117BE6
Deuteranopia (green-blind)
#437FDF
Tritanopia (blue-blind)
#A27295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa57e2;
/* rgb */ color: rgb(170, 87, 226);
/* oklch */ color: oklch(61.8% 0.208 309.1);
Tailwind
colors: {
  custom: {
    50: '#c78bec',
    500: '#aa57e2',
    950: '#000000',
  },
}
SCSS
$custom: #aa57e2;
$custom-light: #c78bec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57e2",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 275.827,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.2085,
    "h": 309.1
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#AA57E2
secondary
#C5E4B0
accent
#D31360
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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