#D56CEE#D56CEE

#D56CEE is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.3% C 0.207 H 319.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D56CEE
RGBrgb(213, 108, 238)
HSLhsl(288, 79%, 68%)
HSVhsv(288, 55%, 93%)
CMYKcmyk(10.5%, 54.6%, 0%, 6.7%)
CIE-LABlab(62.55, 60.25, -48.24)
CIE-LCHlch(62.55, 77.19, 321.32°)
OKLaboklab(70.25% 0.1575 -0.1341)
OKLCHoklch(70.25% 0.207 319.6)
XYZxyz(48.2338, 31.0463, 84.3242)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CEE #85EE6C
analogous
#946CEE #D56CEE #EE6CC6
triadic
#D56CEE #EED56C #6CEED5
tetradic
#D56CEE #EE946C #85EE6C #6CC6EE
square
#D56CEE #EE946C #85EE6C #6CC6EE
split-complementary
#D56CEE #C6EE6C #6CEE94
monochromatic
#A617C8 #C535E8 #D56CEE #E5A3F4 #F4DAFB

Accessibility & contrast

On white

2.91
#D56CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D56CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CEE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CEE#FFFFFF#000000##000000
##D56CEE1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#D67FA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56cee;
/* rgb */ color: rgb(213, 108, 238);
/* oklch */ color: oklch(70.3% 0.207 319.6);
Tailwind
colors: {
  custom: {
    50: '#e59af4',
    500: '#d56cee',
    950: '#000000',
  },
}
SCSS
$custom: #d56cee;
$custom-light: #e59af4;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cee",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 288.462,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.20688,
    "h": 319.6
  },
  "luminance": 0.31044
}

Semantic roles & 50–950 ramp

primary
#D56CEE
secondary
#CFEFC7
accent
#DC0A32
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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