#AE54EB#AE54EB

#AE54EB is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.223 H 308.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AE54EB
RGBrgb(174, 84, 235)
HSLhsl(276, 79%, 63%)
HSVhsv(276, 64%, 92%)
CMYKcmyk(26%, 64.3%, 0%, 7.8%)
CIE-LABlab(53.32, 61.70, -61.57)
CIE-LCHlch(53.32, 87.17, 315.06°)
OKLaboklab(62.44% 0.1394 -0.174)
OKLCHoklch(62.44% 0.223 308.7)
XYZxyz(35.6183, 21.3381, 80.8234)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54EB #91EB54
analogous
#6354EB #AE54EB #EB54DC
triadic
#AE54EB #EBAE54 #54EBAE
tetradic
#AE54EB #EB6354 #91EB54 #54DCEB
square
#AE54EB #EB6354 #91EB54 #54DCEB
split-complementary
#AE54EB #DCEB54 #54EB63
monochromatic
#7115B0 #941DE5 #AE54EB #C88BF1 #E2C2F8

Accessibility & contrast

On white

3.99
#AE54EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AE54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54EB#FFFFFF#000000##000000
##AE54EB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#3A80E8
Tritanopia (blue-blind)
#A57398
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae54eb;
/* rgb */ color: rgb(174, 84, 235);
/* oklch */ color: oklch(62.4% 0.223 308.7);
Tailwind
colors: {
  custom: {
    50: '#ca89f2',
    500: '#ae54eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae54eb;
$custom-light: #ca89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54eb",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 275.762,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62442,
    "c": 0.22299,
    "h": 308.7
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#AE54EB
secondary
#C8E9B2
accent
#DB0A5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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