#AE57CB#AE57CB

#AE57CB is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.186 H 316.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AE57CB
RGBrgb(174, 87, 203)
HSLhsl(285, 53%, 57%)
HSVhsv(285, 57%, 80%)
CMYKcmyk(14.3%, 57.1%, 0%, 20.4%)
CIE-LABlab(51.98, 53.51, -45.57)
CIE-LCHlch(51.98, 70.28, 319.58°)
OKLaboklab(60.87% 0.1361 -0.1272)
OKLCHoklch(60.87% 0.186 316.9)
XYZxyz(31.6417, 20.1280, 58.7067)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE57CB #74CB57
analogous
#7457CB #AE57CB #CB57AE
triadic
#AE57CB #CBAE57 #57CBAE
tetradic
#AE57CB #CB7457 #74CB57 #57AECB
square
#AE57CB #CB7457 #74CB57 #57AECB
split-complementary
#AE57CB #AECB57 #57CB74
monochromatic
#6A2880 #9136AF #AE57CB #C586D9 #DBB4E8

Accessibility & contrast

On white

4.18
#AE57CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AE57CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE57CB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE57CB#FFFFFF#000000##000000
##AE57CB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#AD6A89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae57cb;
/* rgb */ color: rgb(174, 87, 203);
/* oklch */ color: oklch(60.9% 0.186 316.9);
Tailwind
colors: {
  custom: {
    50: '#c98adb',
    500: '#ae57cb',
    950: '#000000',
  },
}
SCSS
$custom: #ae57cb;
$custom-light: #c98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae57cb",
  "rgb": {
    "r": 174,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 285,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.18629,
    "h": 316.9
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#AE57CB
secondary
#B3D7A7
accent
#DC4C70
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AE57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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