#AE56CB#AE56CB

#AE56CB is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.7% C 0.188 H 317.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AE56CB
RGBrgb(174, 86, 203)
HSLhsl(285, 53%, 57%)
HSVhsv(285, 58%, 80%)
CMYKcmyk(14.3%, 57.6%, 0%, 20.4%)
CIE-LABlab(51.80, 54.00, -45.86)
CIE-LCHlch(51.80, 70.84, 319.66°)
OKLaboklab(60.74% 0.1374 -0.128)
OKLCHoklch(60.74% 0.188 317)
XYZxyz(31.5613, 19.9672, 58.6799)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56CB #73CB56
analogous
#7456CB #AE56CB #CB56AE
triadic
#AE56CB #CBAE56 #56CBAE
tetradic
#AE56CB #CB7456 #73CB56 #56AECB
square
#AE56CB #CB7456 #73CB56 #56AECB
split-complementary
#AE56CB #AECB56 #56CB74
monochromatic
#6A277F #9036AE #AE56CB #C485D9 #DBB4E8

Accessibility & contrast

On white

4.21
#AE56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AE56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56CB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56CB#FFFFFF#000000##000000
##AE56CB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#AD6988
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae56cb;
/* rgb */ color: rgb(174, 86, 203);
/* oklch */ color: oklch(60.7% 0.188 317.0);
Tailwind
colors: {
  custom: {
    50: '#c98adb',
    500: '#ae56cb',
    950: '#000000',
  },
}
SCSS
$custom: #ae56cb;
$custom-light: #c98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56cb",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 285.128,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.1878,
    "h": 317
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#AE56CB
secondary
#B2D6A6
accent
#DC4B6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AE56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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