#AE54CA#AE54CA

#AE54CA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.190 H 317.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AE54CA
RGBrgb(174, 84, 202)
HSLhsl(286, 53%, 56%)
HSVhsv(286, 58%, 79%)
CMYKcmyk(13.9%, 58.4%, 0%, 20.8%)
CIE-LABlab(51.39, 54.76, -45.94)
CIE-LCHlch(51.39, 71.48, 320.01°)
OKLaboklab(60.42% 0.1399 -0.1283)
OKLCHoklch(60.42% 0.19 317.5)
XYZxyz(31.2850, 19.6048, 58.0018)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54CA #70CA54
analogous
#7354CA #AE54CA #CA54AB
triadic
#AE54CA #CAAE54 #54CAAE
tetradic
#AE54CA #CA7354 #70CA54 #54ABCA
square
#AE54CA #CA7354 #70CA54 #54ABCA
split-complementary
#AE54CA #ABCA54 #54CA73
monochromatic
#68277D #9035AC #AE54CA #C483D8 #DAB1E7

Accessibility & contrast

On white

4.27
#AE54CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AE54CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54CA#FFFFFF#000000##000000
##AE54CA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#AD6787
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ae54ca;
/* rgb */ color: rgb(174, 84, 202);
/* oklch */ color: oklch(60.4% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#c989db',
    500: '#ae54ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae54ca;
$custom-light: #c989db;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54ca",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 285.763,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.18979,
    "h": 317.5
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#AE54CA
secondary
#B0D5A5
accent
#DC4C6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AE54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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