#D56CD4#D56CD4

#D56CD4 is a light, vivid purple. Relative luminance 0.296; OKLCH L 69.0% C 0.183 H 327.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D56CD4
RGBrgb(213, 108, 212)
HSLhsl(301, 56%, 63%)
HSVhsv(301, 49%, 84%)
CMYKcmyk(0%, 49.3%, 0.5%, 16.5%)
CIE-LABlab(61.33, 55.47, -35.62)
CIE-LCHlch(61.33, 65.92, 327.29°)
OKLaboklab(68.96% 0.1545 -0.0977)
OKLCHoklch(68.96% 0.183 327.7)
XYZxyz(44.6861, 29.6272, 65.6395)
Luminance0.2963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CD4 #6CD56D
analogous
#A16CD5 #D56CD4 #D56CA0
triadic
#D56CD4 #D4D56C #6CD4D5
tetradic
#D56CD4 #D5A16C #6CD56D #6CA0D5
square
#D56CD4 #D5A16C #6CD56D #6CA0D5
split-complementary
#D56CD4 #A0D56C #6CD5A1
monochromatic
#9A2C99 #C73CC6 #D56CD4 #E39CE2 #F0CBF0

Accessibility & contrast

On white

3.03
#D56CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D56CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D56CD4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CD4#FFFFFF#000000##000000
##D56CD41.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#638BD7
Deuteranopia (green-blind)
#8299D1
Tritanopia (blue-blind)
#DB7796
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d56cd4;
/* rgb */ color: rgb(213, 108, 212);
/* oklch */ color: oklch(69.0% 0.183 327.7);
Tailwind
colors: {
  custom: {
    50: '#e49ae1',
    500: '#d56cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d56cd4;
$custom-light: #e49ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cd4",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 300.571,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6896,
    "c": 0.18277,
    "h": 327.7
  },
  "luminance": 0.29625
}

Semantic roles & 50–950 ramp

primary
#D56CD4
secondary
#BBE1BC
accent
#C32422
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D56CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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