#AE52AF#AE52AF

#AE52AF is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.7% C 0.167 H 327.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AE52AF
RGBrgb(174, 82, 175)
HSLhsl(299, 37%, 50%)
HSVhsv(299, 53%, 69%)
CMYKcmyk(0.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(49.65, 50.53, -33.04)
CIE-LCHlch(49.65, 60.38, 326.82°)
OKLaboklab(58.71% 0.1401 -0.0909)
OKLCHoklch(58.71% 0.167 327)
XYZxyz(28.2102, 18.1300, 42.5627)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52AF #53AF52
analogous
#7F52AF #AE52AF #AF5281
triadic
#AE52AF #AFAE52 #52AFAE
tetradic
#AE52AF #AF7F52 #53AF52 #5281AF
square
#AE52AF #AF7F52 #53AF52 #5281AF
split-complementary
#AE52AF #81AF52 #52AF7F
monochromatic
#5C2B5C #853E86 #AE52AF #C27CC2 #D5A6D6

Accessibility & contrast

On white

4.54
#AE52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AE52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52AF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52AF#FFFFFF#000000##000000
##AE52AF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#B35D79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ae52af;
/* rgb */ color: rgb(174, 82, 175);
/* oklch */ color: oklch(58.7% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#c887c7',
    500: '#ae52af',
    950: '#000000',
  },
}
SCSS
$custom: #ae52af;
$custom-light: #c887c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52af",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 299.355,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58706,
    "c": 0.16703,
    "h": 327
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#AE52AF
secondary
#9AC39A
accent
#CD5B5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AE52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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