#D56CD9#D56CD9

#D56CD9 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.2% C 0.187 H 326.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D56CD9
RGBrgb(213, 108, 217)
HSLhsl(298, 59%, 64%)
HSVhsv(298, 50%, 85%)
CMYKcmyk(1.8%, 50.2%, 0%, 14.9%)
CIE-LABlab(61.55, 56.36, -38.09)
CIE-LCHlch(61.55, 68.02, 325.95°)
OKLaboklab(69.2% 0.1552 -0.1048)
OKLCHoklch(69.2% 0.187 326)
XYZxyz(45.3266, 29.8834, 69.0128)
Luminance0.2988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CD9 #70D96C
analogous
#9E6CD9 #D56CD9 #D96CA6
triadic
#D56CD9 #D9D56C #6CD9D5
tetradic
#D56CD9 #D99E6C #70D96C #6CA6D9
square
#D56CD9 #D99E6C #70D96C #6CA6D9
split-complementary
#D56CD9 #A6D96C #6CD99E
monochromatic
#9D2AA1 #C73BCC #D56CD9 #E39DE6 #F1CDF2

Accessibility & contrast

On white

3.01
#D56CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D56CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D56CD9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CD9#FFFFFF#000000##000000
##D56CD91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608CDD
Deuteranopia (green-blind)
#8099D6
Tritanopia (blue-blind)
#DA7999
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d56cd9;
/* rgb */ color: rgb(213, 108, 217);
/* oklch */ color: oklch(69.2% 0.187 326.0);
Tailwind
colors: {
  custom: {
    50: '#e49ae5',
    500: '#d56cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d56cd9;
$custom-light: #e49ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cd9",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 297.798,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69197,
    "c": 0.18726,
    "h": 326
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#D56CD9
secondary
#BFE4BD
accent
#C71F25
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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