#AE57B2#AE57B2

#AE57B2 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.5% C 0.162 H 325.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AE57B2
RGBrgb(174, 87, 178)
HSLhsl(297, 37%, 52%)
HSVhsv(297, 51%, 70%)
CMYKcmyk(2.2%, 51.1%, 0%, 30.2%)
CIE-LABlab(50.72, 48.62, -33.12)
CIE-LCHlch(50.72, 58.82, 325.74°)
OKLaboklab(59.54% 0.1336 -0.0911)
OKLCHoklch(59.54% 0.162 325.7)
XYZxyz(28.8990, 19.0309, 44.2620)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE57B2 #5BB257
analogous
#8157B2 #AE57B2 #B25788
triadic
#AE57B2 #B2AE57 #57B2AE
tetradic
#AE57B2 #B28157 #5BB257 #5788B2
square
#AE57B2 #B28157 #5BB257 #5788B2
split-complementary
#AE57B2 #88B257 #57B281
monochromatic
#5F2D62 #88408C #AE57B2 #C281C5 #D6ABD8

Accessibility & contrast

On white

4.37
#AE57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AE57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE57B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE57B2#FFFFFF#000000##000000
##AE57B21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#B2627C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ae57b2;
/* rgb */ color: rgb(174, 87, 178);
/* oklch */ color: oklch(59.5% 0.162 325.7);
Tailwind
colors: {
  custom: {
    50: '#c88ac9',
    500: '#ae57b2',
    950: '#000000',
  },
}
SCSS
$custom: #ae57b2;
$custom-light: #c88ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae57b2",
  "rgb": {
    "r": 174,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 297.363,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.16176,
    "h": 325.7
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#AE57B2
secondary
#A0C69E
accent
#CD5B60
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AE57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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