#AE56DB#AE56DB

#AE56DB is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.204 H 312.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AE56DB
RGBrgb(174, 86, 219)
HSLhsl(280, 65%, 60%)
HSVhsv(280, 61%, 86%)
CMYKcmyk(20.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(52.70, 57.32, -53.55)
CIE-LCHlch(52.70, 78.44, 316.95°)
OKLaboklab(61.68% 0.1377 -0.1505)
OKLCHoklch(61.68% 0.204 312.5)
XYZxyz(33.5673, 20.7696, 69.2448)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56DB #83DB56
analogous
#6B56DB #AE56DB #DB56C6
triadic
#AE56DB #DBAE56 #56DBAE
tetradic
#AE56DB #DB6B56 #83DB56 #56C6DB
square
#AE56DB #DB6B56 #83DB56 #56C6DB
split-complementary
#AE56DB #C6DB56 #56DB6B
monochromatic
#6E2097 #932BC9 #AE56DB #C688E6 #DEBBF0

Accessibility & contrast

On white

4.07
#AE56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AE56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56DB#FFFFFF#000000##000000
##AE56DB1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#A96F91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae56db;
/* rgb */ color: rgb(174, 86, 219);
/* oklch */ color: oklch(61.7% 0.204 312.5);
Tailwind
colors: {
  custom: {
    50: '#c98ae7',
    500: '#ae56db',
    950: '#000000',
  },
}
SCSS
$custom: #ae56db;
$custom-light: #c98ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56db",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 279.699,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.204,
    "h": 312.5
  },
  "luminance": 0.20769
}

Semantic roles & 50–950 ramp

primary
#AE56DB
secondary
#BEE0AD
accent
#E84079
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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