#AE54DB#AE54DB

#AE54DB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.4% C 0.207 H 312.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AE54DB
RGBrgb(174, 84, 219)
HSLhsl(280, 65%, 59%)
HSVhsv(280, 62%, 86%)
CMYKcmyk(20.5%, 61.6%, 0%, 14.1%)
CIE-LABlab(52.35, 58.27, -54.11)
CIE-LCHlch(52.35, 79.52, 317.12°)
OKLaboklab(61.43% 0.1401 -0.1521)
OKLCHoklch(61.43% 0.207 312.6)
XYZxyz(33.4098, 20.4547, 69.1923)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54DB #81DB54
analogous
#6B54DB #AE54DB #DB54C5
triadic
#AE54DB #DBAE54 #54DBAE
tetradic
#AE54DB #DB6B54 #81DB54 #54C5DB
square
#AE54DB #DB6B54 #81DB54 #54C5DB
split-complementary
#AE54DB #C5DB54 #54DB6B
monochromatic
#6E1F95 #932AC8 #AE54DB #C687E6 #DEB9F0

Accessibility & contrast

On white

4.13
#AE54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AE54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54DB#FFFFFF#000000##000000
##AE54DB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E78DF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#A96D90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae54db;
/* rgb */ color: rgb(174, 84, 219);
/* oklch */ color: oklch(61.4% 0.207 312.6);
Tailwind
colors: {
  custom: {
    50: '#ca89e7',
    500: '#ae54db',
    950: '#000000',
  },
}
SCSS
$custom: #ae54db;
$custom-light: #ca89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54db",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 280,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.20681,
    "h": 312.6
  },
  "luminance": 0.20454
}

Semantic roles & 50–950 ramp

primary
#AE54DB
secondary
#BDE0AB
accent
#E84078
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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