#AE56BC#AE56BC

#AE56BC is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.9% C 0.173 H 322.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AE56BC
RGBrgb(174, 86, 188)
HSLhsl(292, 43%, 54%)
HSVhsv(292, 54%, 74%)
CMYKcmyk(7.4%, 54.3%, 0%, 26.3%)
CIE-LABlab(51.02, 51.02, -38.46)
CIE-LCHlch(51.02, 63.89, 322.99°)
OKLaboklab(59.92% 0.1363 -0.1065)
OKLCHoklch(59.92% 0.173 322)
XYZxyz(29.8595, 19.2865, 49.7170)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56BC #64BC56
analogous
#7B56BC #AE56BC #BC5697
triadic
#AE56BC #BCAE56 #56BCAE
tetradic
#AE56BC #BC7B56 #64BC56 #5697BC
square
#AE56BC #BC7B56 #64BC56 #5697BC
split-complementary
#AE56BC #97BC56 #56BC7B
monochromatic
#642B6D #8C3C98 #AE56BC #C382CD #D8AEDF

Accessibility & contrast

On white

4.32
#AE56BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AE56BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56BC#FFFFFF#000000##000000
##AE56BC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#B06481
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ae56bc;
/* rgb */ color: rgb(174, 86, 188);
/* oklch */ color: oklch(59.9% 0.173 322.0);
Tailwind
colors: {
  custom: {
    50: '#c88ad0',
    500: '#ae56bc',
    950: '#000000',
  },
}
SCSS
$custom: #ae56bc;
$custom-light: #c88ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56bc",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 291.765,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.17296,
    "h": 322
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#AE56BC
secondary
#A7CDA1
accent
#D35566
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AE56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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