#AE54D2#AE54D2

#AE54D2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.198 H 315.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AE54D2
RGBrgb(174, 84, 210)
HSLhsl(283, 58%, 58%)
HSVhsv(283, 60%, 82%)
CMYKcmyk(17.1%, 60%, 0%, 17.6%)
CIE-LABlab(51.83, 56.39, -49.81)
CIE-LCHlch(51.83, 75.24, 318.54°)
OKLaboklab(60.89% 0.1401 -0.1396)
OKLCHoklch(60.89% 0.198 315.1)
XYZxyz(32.2569, 19.9935, 63.1202)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54D2 #78D254
analogous
#6F54D2 #AE54D2 #D254B7
triadic
#AE54D2 #D2AE54 #54D2AE
tetradic
#AE54D2 #D26F54 #78D254 #54B7D2
square
#AE54D2 #D26F54 #78D254 #54B7D2
split-complementary
#AE54D2 #B7D254 #54D26F
monochromatic
#6B2488 #9131B8 #AE54D2 #C584DF #DCB5EB

Accessibility & contrast

On white

4.20
#AE54D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AE54D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54D2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54D2#FFFFFF#000000##000000
##AE54D21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#AB6A8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae54d2;
/* rgb */ color: rgb(174, 84, 210);
/* oklch */ color: oklch(60.9% 0.198 315.1);
Tailwind
colors: {
  custom: {
    50: '#c989e0',
    500: '#ae54d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae54d2;
$custom-light: #c989e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54d2",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 282.857,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.19776,
    "h": 315.1
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#AE54D2
secondary
#B6DAA8
accent
#E24673
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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