#AE52B8#AE52B8

#AE52B8 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.2% C 0.175 H 323.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AE52B8
RGBrgb(174, 82, 184)
HSLhsl(294, 42%, 52%)
HSVhsv(294, 55%, 72%)
CMYKcmyk(5.4%, 55.4%, 0%, 27.8%)
CIE-LABlab(50.09, 52.21, -37.60)
CIE-LCHlch(50.09, 64.34, 324.24°)
OKLaboklab(59.17% 0.1412 -0.104)
OKLCHoklch(59.17% 0.175 323.6)
XYZxyz(29.1238, 18.4954, 47.3740)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52B8 #5CB852
analogous
#7B52B8 #AE52B8 #B8528F
triadic
#AE52B8 #B8AE52 #52B8AE
tetradic
#AE52B8 #B87B52 #5CB852 #528FB8
square
#AE52B8 #B87B52 #5CB852 #528FB8
split-complementary
#AE52B8 #8FB852 #52B87B
monochromatic
#602A66 #893C91 #AE52B8 #C27DCA #D7A9DC

Accessibility & contrast

On white

4.47
#AE52B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AE52B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52B8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52B8#FFFFFF#000000##000000
##AE52B81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4270BB
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#B1607D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae52b8;
/* rgb */ color: rgb(174, 82, 184);
/* oklch */ color: oklch(59.2% 0.175 323.6);
Tailwind
colors: {
  custom: {
    50: '#c987ce',
    500: '#ae52b8',
    950: '#000000',
  },
}
SCSS
$custom: #ae52b8;
$custom-light: #c987ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52b8",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 294.118,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.17538,
    "h": 323.6
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#AE52B8
secondary
#A1C99D
accent
#D25662
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C13
muted
#827D82

Preview Lab

Preview with #AE52B8

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

Preview Lab → · Contrast checker → · Palette generator →

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