#AE56DF#AE56DF

#AE56DF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.208 H 311.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AE56DF
RGBrgb(174, 86, 223)
HSLhsl(279, 68%, 61%)
HSVhsv(279, 61%, 87%)
CMYKcmyk(22%, 61.4%, 0%, 12.5%)
CIE-LABlab(52.93, 58.17, -55.44)
CIE-LCHlch(52.93, 80.36, 316.38°)
OKLaboklab(61.93% 0.1377 -0.156)
OKLCHoklch(61.93% 0.208 311.4)
XYZxyz(34.1002, 20.9828, 72.0515)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56DF #87DF56
analogous
#6956DF #AE56DF #DF56CB
triadic
#AE56DF #DFAE56 #56DFAE
tetradic
#AE56DF #DF6956 #87DF56 #56CBDF
square
#AE56DF #DF6956 #87DF56 #56CBDF
split-complementary
#AE56DF #CBDF56 #56DF69
monochromatic
#6F1E9D #9427D0 #AE56DF #C789E9 #DFBDF2

Accessibility & contrast

On white

4.04
#AE56DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AE56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56DF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56DF#FFFFFF#000000##000000
##AE56DF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7AE3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#A87093
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae56df;
/* rgb */ color: rgb(174, 86, 223);
/* oklch */ color: oklch(61.9% 0.208 311.4);
Tailwind
colors: {
  custom: {
    50: '#ca8aea',
    500: '#ae56df',
    950: '#000000',
  },
}
SCSS
$custom: #ae56df;
$custom-light: #ca8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56df",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 278.54,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.20808,
    "h": 311.4
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#AE56DF
secondary
#C1E2AE
accent
#D01558
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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