#D56CD7#D56CD7

#D56CD7 is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.185 H 326.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#D56CD7
RGBrgb(213, 108, 215)
HSLhsl(299, 57%, 63%)
HSVhsv(299, 50%, 84%)
CMYKcmyk(0.9%, 49.8%, 0%, 15.7%)
CIE-LABlab(61.46, 56.00, -37.10)
CIE-LCHlch(61.46, 67.17, 326.47°)
OKLaboklab(69.1% 0.1549 -0.1019)
OKLCHoklch(69.1% 0.185 326.7)
XYZxyz(45.0680, 29.7800, 67.6511)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CD7 #6ED76C
analogous
#A06CD7 #D56CD7 #D76CA3
triadic
#D56CD7 #D7D56C #6CD7D5
tetradic
#D56CD7 #D7A06C #6ED76C #6CA3D7
square
#D56CD7 #D7A06C #6ED76C #6CA3D7
split-complementary
#D56CD7 #A3D76C #6CD7A0
monochromatic
#9C2B9E #C73CCA #D56CD7 #E39CE4 #F0CCF1

Accessibility & contrast

On white

3.02
#D56CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#D56CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D56CD7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CD7#FFFFFF#000000##000000
##D56CD71.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDB
Deuteranopia (green-blind)
#8199D4
Tritanopia (blue-blind)
#DA7898
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d56cd7;
/* rgb */ color: rgb(213, 108, 215);
/* oklch */ color: oklch(69.1% 0.185 326.7);
Tailwind
colors: {
  custom: {
    50: '#e49ae3',
    500: '#d56cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d56cd7;
$custom-light: #e49ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cd7",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 298.879,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69101,
    "c": 0.18545,
    "h": 326.7
  },
  "luminance": 0.29778
}

Semantic roles & 50–950 ramp

primary
#D56CD7
secondary
#BDE2BC
accent
#C52124
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D56CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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