#AE56CA#AE56CA

#AE56CA is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.187 H 317.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AE56CA
RGBrgb(174, 86, 202)
HSLhsl(286, 52%, 56%)
HSVhsv(286, 57%, 79%)
CMYKcmyk(13.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(51.75, 53.79, -45.37)
CIE-LCHlch(51.75, 70.37, 319.85°)
OKLaboklab(60.68% 0.1373 -0.1266)
OKLCHoklch(60.68% 0.187 317.3)
XYZxyz(31.4425, 19.9197, 58.0543)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56CA #72CA56
analogous
#7456CA #AE56CA #CA56AC
triadic
#AE56CA #CAAE56 #56CAAE
tetradic
#AE56CA #CA7456 #72CA56 #56ACCA
square
#AE56CA #CA7456 #72CA56 #56ACCA
split-complementary
#AE56CA #ACCA56 #56CA74
monochromatic
#69287E #9036AD #AE56CA #C485D9 #DBB3E7

Accessibility & contrast

On white

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

On black

4.98
#AE56CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56CA#FFFFFF#000000##000000
##AE56CA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#AD6988
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae56ca;
/* rgb */ color: rgb(174, 86, 202);
/* oklch */ color: oklch(60.7% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#c98ada',
    500: '#ae56ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae56ca;
$custom-light: #c98ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56ca",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 285.517,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.18679,
    "h": 317.3
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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