#AE51CA#AE51CA

#AE51CA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.194 H 317.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AE51CA
RGBrgb(174, 81, 202)
HSLhsl(286, 53%, 55%)
HSVhsv(286, 60%, 79%)
CMYKcmyk(13.9%, 59.9%, 0%, 20.8%)
CIE-LABlab(50.86, 56.19, -46.78)
CIE-LCHlch(50.86, 73.11, 320.22°)
OKLaboklab(60.04% 0.1436 -0.1307)
OKLCHoklch(60.04% 0.194 317.7)
XYZxyz(31.0572, 19.1490, 57.9258)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE51CA #6DCA51
analogous
#7151CA #AE51CA #CA51A9
triadic
#AE51CA #CAAE51 #51CAAE
tetradic
#AE51CA #CA7151 #6DCA51 #51A9CA
square
#AE51CA #CA7151 #6DCA51 #51A9CA
split-complementary
#AE51CA #A9CA51 #51CA71
monochromatic
#67257B #8F34AA #AE51CA #C480D8 #DAAFE7

Accessibility & contrast

On white

4.35
#AE51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AE51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE51CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE51CA#FFFFFF#000000##000000
##AE51CA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#AD6586
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ae51ca;
/* rgb */ color: rgb(174, 81, 202);
/* oklch */ color: oklch(60.0% 0.194 317.7);
Tailwind
colors: {
  custom: {
    50: '#c987db',
    500: '#ae51ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae51ca;
$custom-light: #c987db;
$custom-dark: #000000;
JSON
{
  "hex": "#ae51ca",
  "rgb": {
    "r": 174,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 286.116,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.1942,
    "h": 317.7
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#AE51CA
secondary
#AED5A2
accent
#DD4B6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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