#AE56EC#AE56EC

#AE56EC is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.221 H 308.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AE56EC
RGBrgb(174, 86, 236)
HSLhsl(275, 80%, 63%)
HSVhsv(275, 64%, 93%)
CMYKcmyk(26.3%, 63.6%, 0%, 7.5%)
CIE-LABlab(53.72, 60.98, -61.49)
CIE-LCHlch(53.72, 86.60, 314.76°)
OKLaboklab(62.75% 0.1372 -0.1738)
OKLCHoklch(62.75% 0.221 308.3)
XYZxyz(35.9206, 21.7109, 81.6389)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56EC #94EC56
analogous
#6356EC #AE56EC #EC56DF
triadic
#AE56EC #ECAE56 #56ECAE
tetradic
#AE56EC #EC6356 #94EC56 #56DFEC
square
#AE56EC #EC6356 #94EC56 #56DFEC
split-complementary
#AE56EC #DFEC56 #56EC63
monochromatic
#7214B3 #941FE6 #AE56EC #C88DF2 #E3C4F8

Accessibility & contrast

On white

3.93
#AE56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AE56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56EC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56EC#FFFFFF#000000##000000
##AE56EC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#A5759A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ae56ec;
/* rgb */ color: rgb(174, 86, 236);
/* oklch */ color: oklch(62.8% 0.221 308.3);
Tailwind
colors: {
  custom: {
    50: '#ca8bf3',
    500: '#ae56ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae56ec;
$custom-light: #ca8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56ec",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 275.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.22138,
    "h": 308.3
  },
  "luminance": 0.2171
}

Semantic roles & 50–950 ramp

primary
#AE56EC
secondary
#CAEAB4
accent
#DC0960
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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