#D56CEF#D56CEF

#D56CEF is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.3% C 0.208 H 319.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D56CEF
RGBrgb(213, 108, 239)
HSLhsl(288, 80%, 68%)
HSVhsv(288, 55%, 94%)
CMYKcmyk(10.9%, 54.8%, 0%, 6.3%)
CIE-LABlab(62.60, 60.45, -48.72)
CIE-LCHlch(62.60, 77.63, 321.13°)
OKLaboklab(70.3% 0.1576 -0.1355)
OKLCHoklch(70.3% 0.208 319.3)
XYZxyz(48.3811, 31.1052, 85.1000)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CEF #86EF6C
analogous
#946CEF #D56CEF #EF6CC7
triadic
#D56CEF #EFD56C #6CEFD5
tetradic
#D56CEF #EF946C #86EF6C #6CC7EF
square
#D56CEF #EF946C #86EF6C #6CC7EF
split-complementary
#D56CEF #C7EF6C #6CEF94
monochromatic
#A716CB #C535E9 #D56CEF #E5A3F5 #F5DAFB

Accessibility & contrast

On white

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

On black

7.22
#D56CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CEF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CEF#FFFFFF#000000##000000
##D56CEF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#759BEC
Tritanopia (blue-blind)
#D680A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56cef;
/* rgb */ color: rgb(213, 108, 239);
/* oklch */ color: oklch(70.3% 0.208 319.3);
Tailwind
colors: {
  custom: {
    50: '#e59af5',
    500: '#d56cef',
    950: '#000000',
  },
}
SCSS
$custom: #d56cef;
$custom-light: #e59af5;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cef",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 288.092,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70304,
    "c": 0.20784,
    "h": 319.3
  },
  "luminance": 0.31103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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