#AE57DC#AE57DC

#AE57DC is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.204 H 312.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AE57DC
RGBrgb(174, 87, 220)
HSLhsl(279, 66%, 60%)
HSVhsv(279, 60%, 86%)
CMYKcmyk(20.9%, 60.5%, 0%, 13.7%)
CIE-LABlab(52.93, 57.05, -53.74)
CIE-LCHlch(52.93, 78.38, 316.71°)
OKLaboklab(61.87% 0.1365 -0.1511)
OKLCHoklch(61.87% 0.204 312.1)
XYZxyz(33.7797, 20.9832, 69.9670)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE57DC #85DC57
analogous
#6B57DC #AE57DC #DC57C7
triadic
#AE57DC #DCAE57 #57DCAE
tetradic
#AE57DC #DC6B57 #85DC57 #57C7DC
square
#AE57DC #DC6B57 #85DC57 #57C7DC
split-complementary
#AE57DC #C7DC57 #57DC6B
monochromatic
#6F2099 #942ACB #AE57DC #C68AE7 #DFBCF1

Accessibility & contrast

On white

4.04
#AE57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AE57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE57DC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE57DC#FFFFFF#000000##000000
##AE57DC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#A97092
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae57dc;
/* rgb */ color: rgb(174, 87, 220);
/* oklch */ color: oklch(61.9% 0.204 312.1);
Tailwind
colors: {
  custom: {
    50: '#c98be7',
    500: '#ae57dc',
    950: '#000000',
  },
}
SCSS
$custom: #ae57dc;
$custom-light: #c98be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae57dc",
  "rgb": {
    "r": 174,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 279.248,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.2036,
    "h": 312.1
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#AE57DC
secondary
#C0E1AE
accent
#CD1857
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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