#AE56D2#AE56D2

#AE56D2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.195 H 314.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AE56D2
RGBrgb(174, 86, 210)
HSLhsl(283, 58%, 58%)
HSVhsv(283, 59%, 82%)
CMYKcmyk(17.1%, 59%, 0%, 17.6%)
CIE-LABlab(52.18, 55.43, -49.25)
CIE-LCHlch(52.18, 74.15, 318.38°)
OKLaboklab(61.15% 0.1376 -0.1379)
OKLCHoklch(61.15% 0.195 314.9)
XYZxyz(32.4143, 20.3084, 63.1727)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56D2 #7AD256
analogous
#7056D2 #AE56D2 #D256B8
triadic
#AE56D2 #D2AE56 #56D2AE
tetradic
#AE56D2 #D27056 #7AD256 #56B8D2
square
#AE56D2 #D27056 #7AD256 #56B8D2
split-complementary
#AE56D2 #B8D256 #56D270
monochromatic
#6C2589 #9231B9 #AE56D2 #C586DF #DCB7EC

Accessibility & contrast

On white

4.15
#AE56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AE56D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56D2#FFFFFF#000000##000000
##AE56D21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#547FCF
Tritanopia (blue-blind)
#AB6C8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae56d2;
/* rgb */ color: rgb(174, 86, 210);
/* oklch */ color: oklch(61.1% 0.195 314.9);
Tailwind
colors: {
  custom: {
    50: '#c98ae0',
    500: '#ae56d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae56d2;
$custom-light: #c98ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56d2",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 282.581,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.19485,
    "h": 314.9
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#AE56D2
secondary
#B8DBA9
accent
#E14773
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AE56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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