#AE54EC#AE54EC

#AE54EC is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.224 H 308.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AE54EC
RGBrgb(174, 84, 236)
HSLhsl(276, 80%, 63%)
HSVhsv(276, 64%, 93%)
CMYKcmyk(26.3%, 64.4%, 0%, 7.5%)
CIE-LABlab(53.38, 61.92, -62.03)
CIE-LCHlch(53.38, 87.65, 314.94°)
OKLaboklab(62.51% 0.1394 -0.1754)
OKLCHoklch(62.51% 0.224 308.5)
XYZxyz(35.7631, 21.3960, 81.5865)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54EC #92EC54
analogous
#6254EC #AE54EC #EC54DE
triadic
#AE54EC #ECAE54 #54ECAE
tetradic
#AE54EC #EC6254 #92EC54 #54DEEC
square
#AE54EC #EC6254 #92EC54 #54DEEC
split-complementary
#AE54EC #DEEC54 #54EC62
monochromatic
#7114B2 #941DE6 #AE54EC #C88BF2 #E2C2F8

Accessibility & contrast

On white

3.98
#AE54EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AE54EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54EC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54EC#FFFFFF#000000##000000
##AE54EC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#A57499
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae54ec;
/* rgb */ color: rgb(174, 84, 236);
/* oklch */ color: oklch(62.5% 0.224 308.5);
Tailwind
colors: {
  custom: {
    50: '#ca8af3',
    500: '#ae54ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae54ec;
$custom-light: #ca8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54ec",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 275.526,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62507,
    "c": 0.22401,
    "h": 308.5
  },
  "luminance": 0.21395
}

Semantic roles & 50–950 ramp

primary
#AE54EC
secondary
#C9E9B2
accent
#DC095F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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