#AE56EB#AE56EB

#AE56EB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.220 H 308.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AE56EB
RGBrgb(174, 86, 235)
HSLhsl(275, 79%, 63%)
HSVhsv(275, 63%, 92%)
CMYKcmyk(26%, 63.4%, 0%, 7.8%)
CIE-LABlab(53.66, 60.77, -61.03)
CIE-LCHlch(53.66, 86.12, 314.88°)
OKLaboklab(62.69% 0.1372 -0.1724)
OKLCHoklch(62.69% 0.22 308.5)
XYZxyz(35.7757, 21.6530, 80.8759)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56EB #93EB56
analogous
#6356EB #AE56EB #EB56DE
triadic
#AE56EB #EBAE56 #56EBAE
tetradic
#AE56EB #EB6356 #93EB56 #56DEEB
square
#AE56EB #EB6356 #93EB56 #56DEEB
split-complementary
#AE56EB #DEEB56 #56EB63
monochromatic
#7115B2 #941FE5 #AE56EB #C88DF1 #E2C3F8

Accessibility & contrast

On white

3.94
#AE56EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AE56EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56EB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56EB#FFFFFF#000000##000000
##AE56EB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#A57499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ae56eb;
/* rgb */ color: rgb(174, 86, 235);
/* oklch */ color: oklch(62.7% 0.220 308.5);
Tailwind
colors: {
  custom: {
    50: '#ca8bf2',
    500: '#ae56eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae56eb;
$custom-light: #ca8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56eb",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 275.436,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62686,
    "c": 0.22036,
    "h": 308.5
  },
  "luminance": 0.21652
}

Semantic roles & 50–950 ramp

primary
#AE56EB
secondary
#CAE9B4
accent
#DB0A60
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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