#AE52CB#AE52CB

#AE52CB is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.194 H 317.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AE52CB
RGBrgb(174, 82, 203)
HSLhsl(286, 54%, 56%)
HSVhsv(286, 60%, 80%)
CMYKcmyk(14.3%, 59.6%, 0%, 20.4%)
CIE-LABlab(51.09, 55.92, -46.99)
CIE-LCHlch(51.09, 73.04, 319.96°)
OKLaboklab(60.22% 0.1424 -0.1313)
OKLCHoklch(60.22% 0.194 317.3)
XYZxyz(31.2508, 19.3462, 58.5764)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52CB #6FCB52
analogous
#7152CB #AE52CB #CB52AB
triadic
#AE52CB #CBAE52 #52CBAE
tetradic
#AE52CB #CB7152 #6FCB52 #52ABCB
square
#AE52CB #CB7152 #6FCB52 #52ABCB
split-complementary
#AE52CB #ABCB52 #52CB71
monochromatic
#68267D #8F34AC #AE52CB #C481D9 #DAB0E7

Accessibility & contrast

On white

4.31
#AE52CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AE52CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52CB#FFFFFF#000000##000000
##AE52CB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#AD6687
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae52cb;
/* rgb */ color: rgb(174, 82, 203);
/* oklch */ color: oklch(60.2% 0.194 317.3);
Tailwind
colors: {
  custom: {
    50: '#c987db',
    500: '#ae52cb',
    950: '#000000',
  },
}
SCSS
$custom: #ae52cb;
$custom-light: #c987db;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52cb",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 285.62,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60223,
    "c": 0.19372,
    "h": 317.3
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#AE52CB
secondary
#AFD5A3
accent
#DD4B6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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