#D56DEC#D56DEC

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

Color values

HEX#D56DEC
RGBrgb(213, 109, 236)
HSLhsl(289, 77%, 68%)
HSVhsv(289, 54%, 93%)
CMYKcmyk(9.7%, 53.8%, 0%, 7.5%)
CIE-LABlab(62.63, 59.39, -47.00)
CIE-LCHlch(62.63, 75.74, 321.64°)
OKLaboklab(70.28% 0.1561 -0.1305)
OKLCHoklch(70.28% 0.203 320.1)
XYZxyz(48.0477, 31.1416, 82.8206)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DEC #84EC6D
analogous
#966DEC #D56DEC #EC6DC3
triadic
#D56DEC #ECD56D #6DECD5
tetradic
#D56DEC #EC966D #84EC6D #6DC3EC
square
#D56DEC #EC966D #84EC6D #6DC3EC
split-complementary
#D56DEC #C3EC6D #6DEC96
monochromatic
#A61AC5 #C537E5 #D56DEC #E5A3F3 #F4D9FA

Accessibility & contrast

On white

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

On black

7.23
#D56DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DEC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DEC#FFFFFF#000000##000000
##D56DEC1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#779BE9
Tritanopia (blue-blind)
#D67FA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56dec;
/* rgb */ color: rgb(213, 109, 236);
/* oklch */ color: oklch(70.3% 0.203 320.1);
Tailwind
colors: {
  custom: {
    50: '#e49bf2',
    500: '#d56dec',
    950: '#000000',
  },
}
SCSS
$custom: #d56dec;
$custom-light: #e49bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d56dec",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 289.134,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70278,
    "c": 0.20346,
    "h": 320.1
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#D56DEC
secondary
#CEEEC7
accent
#D90C31
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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