#D56DEE#D56DEE

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

Color values

HEX#D56DEE
RGBrgb(213, 109, 238)
HSLhsl(288, 79%, 68%)
HSVhsv(288, 54%, 93%)
CMYKcmyk(10.5%, 54.2%, 0%, 6.7%)
CIE-LABlab(62.73, 59.78, -47.96)
CIE-LCHlch(62.73, 76.64, 321.26°)
OKLaboklab(70.38% 0.1563 -0.1333)
OKLCHoklch(70.38% 0.205 319.5)
XYZxyz(48.3399, 31.2584, 84.3595)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DEE #86EE6D
analogous
#946DEE #D56DEE #EE6DC6
triadic
#D56DEE #EED56D #6DEED5
tetradic
#D56DEE #EE946D #86EE6D #6DC6EE
square
#D56DEE #EE946D #86EE6D #6DC6EE
split-complementary
#D56DEE #C6EE6D #6DEE94
monochromatic
#A717C9 #C536E8 #D56DEE #E5A4F4 #F5DBFB

Accessibility & contrast

On white

2.90
#D56DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D56DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DEE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DEE#FFFFFF#000000##000000
##D56DEE1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F2
Deuteranopia (green-blind)
#769BEB
Tritanopia (blue-blind)
#D680A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56dee;
/* rgb */ color: rgb(213, 109, 238);
/* oklch */ color: oklch(70.4% 0.205 319.5);
Tailwind
colors: {
  custom: {
    50: '#e59bf4',
    500: '#d56dee',
    950: '#000000',
  },
}
SCSS
$custom: #d56dee;
$custom-light: #e59bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d56dee",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 288.372,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70382,
    "c": 0.20538,
    "h": 319.5
  },
  "luminance": 0.31256
}

Semantic roles & 50–950 ramp

primary
#D56DEE
secondary
#CFEFC8
accent
#DB0A33
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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