#AE56DC#AE56DC

#AE56DC is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.205 H 312.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AE56DC
RGBrgb(174, 86, 220)
HSLhsl(279, 66%, 60%)
HSVhsv(279, 61%, 86%)
CMYKcmyk(20.9%, 60.9%, 0%, 13.7%)
CIE-LABlab(52.75, 57.53, -54.02)
CIE-LCHlch(52.75, 78.92, 316.80°)
OKLaboklab(61.74% 0.1377 -0.1519)
OKLCHoklch(61.74% 0.205 312.2)
XYZxyz(33.6993, 20.8224, 69.9402)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56DC #84DC56
analogous
#6B56DC #AE56DC #DC56C7
triadic
#AE56DC #DCAE56 #56DCAE
tetradic
#AE56DC #DC6B56 #84DC56 #56C7DC
square
#AE56DC #DC6B56 #84DC56 #56C7DC
split-complementary
#AE56DC #C7DC56 #56DC6B
monochromatic
#6F2098 #942ACB #AE56DC #C689E6 #DFBBF1

Accessibility & contrast

On white

4.07
#AE56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AE56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56DC#FFFFFF#000000##000000
##AE56DC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2279E0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#A96F91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae56dc;
/* rgb */ color: rgb(174, 86, 220);
/* oklch */ color: oklch(61.7% 0.205 312.2);
Tailwind
colors: {
  custom: {
    50: '#ca8ae7',
    500: '#ae56dc',
    950: '#000000',
  },
}
SCSS
$custom: #ae56dc;
$custom-light: #ca8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56dc",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 279.403,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.20502,
    "h": 312.2
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#AE56DC
secondary
#BFE1AD
accent
#E93F79
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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