#D56DEF#D56DEF

#D56DEF is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.4% C 0.206 H 319.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D56DEF
RGBrgb(213, 109, 239)
HSLhsl(288, 80%, 68%)
HSVhsv(288, 54%, 94%)
CMYKcmyk(10.9%, 54.4%, 0%, 6.3%)
CIE-LABlab(62.77, 59.97, -48.43)
CIE-LCHlch(62.77, 77.09, 321.07°)
OKLaboklab(70.43% 0.1563 -0.1347)
OKLCHoklch(70.43% 0.206 319.3)
XYZxyz(48.4872, 31.3174, 85.1354)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DEF #87EF6D
analogous
#946DEF #D56DEF #EF6DC8
triadic
#D56DEF #EFD56D #6DEFD5
tetradic
#D56DEF #EF946D #87EF6D #6DC8EF
square
#D56DEF #EF946D #87EF6D #6DC8EF
split-complementary
#D56DEF #C8EF6D #6DEF94
monochromatic
#A716CB #C536E9 #D56DEF #E5A4F5 #F5DBFB

Accessibility & contrast

On white

2.89
#D56DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D56DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DEF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DEF#FFFFFF#000000##000000
##D56DEF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#D680A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56def;
/* rgb */ color: rgb(213, 109, 239);
/* oklch */ color: oklch(70.4% 0.206 319.3);
Tailwind
colors: {
  custom: {
    50: '#e59bf5',
    500: '#d56def',
    950: '#000000',
  },
}
SCSS
$custom: #d56def;
$custom-light: #e59bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d56def",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 288,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70434,
    "c": 0.20634,
    "h": 319.3
  },
  "luminance": 0.31315
}

Semantic roles & 50–950 ramp

primary
#D56DEF
secondary
#D0F0C8
accent
#DD0933
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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