#D56DEB#D56DEB

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

Color values

HEX#D56DEB
RGBrgb(213, 109, 235)
HSLhsl(290, 76%, 67%)
HSVhsv(290, 54%, 92%)
CMYKcmyk(9.4%, 53.6%, 0%, 7.8%)
CIE-LABlab(62.58, 59.20, -46.53)
CIE-LCHlch(62.58, 75.30, 321.84°)
OKLaboklab(70.23% 0.156 -0.1291)
OKLCHoklch(70.23% 0.203 320.4)
XYZxyz(47.9028, 31.0836, 82.0576)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DEB #83EB6D
analogous
#966DEB #D56DEB #EB6DC2
triadic
#D56DEB #EBD56D #6DEBD5
tetradic
#D56DEB #EB966D #83EB6D #6DC2EB
square
#D56DEB #EB966D #83EB6D #6DC2EB
split-complementary
#D56DEB #C2EB6D #6DEB96
monochromatic
#A61BC3 #C637E4 #D56DEB #E4A3F2 #F4D9FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D56DEB#FFFFFF#000000##000000
##D56DEB1.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)
#5690EF
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#D67FA2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56deb;
/* rgb */ color: rgb(213, 109, 235);
/* oklch */ color: oklch(70.2% 0.203 320.4);
Tailwind
colors: {
  custom: {
    50: '#e49bf2',
    500: '#d56deb',
    950: '#000000',
  },
}
SCSS
$custom: #d56deb;
$custom-light: #e49bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d56deb",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 289.524,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70226,
    "c": 0.20251,
    "h": 320.4
  },
  "luminance": 0.31082
}

Semantic roles & 50–950 ramp

primary
#D56DEB
secondary
#CDEEC6
accent
#D80D31
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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