#AE56CC#AE56CC

#AE56CC is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.189 H 316.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AE56CC
RGBrgb(174, 86, 204)
HSLhsl(285, 54%, 57%)
HSVhsv(285, 58%, 80%)
CMYKcmyk(14.7%, 57.8%, 0%, 20%)
CIE-LABlab(51.85, 54.20, -46.35)
CIE-LCHlch(51.85, 71.31, 319.47°)
OKLaboklab(60.8% 0.1374 -0.1295)
OKLCHoklch(60.8% 0.189 316.7)
XYZxyz(31.6808, 20.0150, 59.3095)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56CC #74CC56
analogous
#7356CC #AE56CC #CC56AF
triadic
#AE56CC #CCAE56 #56CCAE
tetradic
#AE56CC #CC7356 #74CC56 #56AFCC
square
#AE56CC #CC7356 #74CC56 #56AFCC
split-complementary
#AE56CC #AFCC56 #56CC73
monochromatic
#6A2781 #9135B0 #AE56CC #C585DA #DBB4E8

Accessibility & contrast

On white

4.20
#AE56CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AE56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56CC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56CC#FFFFFF#000000##000000
##AE56CC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#AD6989
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae56cc;
/* rgb */ color: rgb(174, 86, 204);
/* oklch */ color: oklch(60.8% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#c98adc',
    500: '#ae56cc',
    950: '#000000',
  },
}
SCSS
$custom: #ae56cc;
$custom-light: #c98adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56cc",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 284.746,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60798,
    "c": 0.1888,
    "h": 316.7
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#AE56CC
secondary
#B3D7A7
accent
#DD4B70
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AE56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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