#D56DFE#D56DFE

#D56DFE is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.2% C 0.221 H 315.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D56DFE
RGBrgb(213, 109, 254)
HSLhsl(283, 99%, 71%)
HSVhsv(283, 57%, 100%)
CMYKcmyk(16.1%, 57.1%, 0%, 0.4%)
CIE-LABlab(63.54, 62.91, -55.50)
CIE-LCHlch(63.54, 83.89, 318.58°)
OKLaboklab(71.24% 0.1572 -0.1552)
OKLCHoklch(71.24% 0.221 315.4)
XYZxyz(50.7958, 32.2408, 97.2940)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DFE #96FE6D
analogous
#8C6DFE #D56DFE #FE6DDF
triadic
#D56DFE #FED56D #6DFED5
tetradic
#D56DFE #FE8C6D #96FE6D #6DDFFE
square
#D56DFE #FE8C6D #96FE6D #6DDFFE
split-complementary
#D56DFE #DFFE6D #6DFE8C
monochromatic
#AC02EF #C430FE #D56DFE #E6AAFE #F6E1FF

Accessibility & contrast

On white

2.82
#D56DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D56DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DFE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DFE#FFFFFF#000000##000000
##D56DFE1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#D285AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d56dfe;
/* rgb */ color: rgb(213, 109, 254);
/* oklch */ color: oklch(71.2% 0.221 315.4);
Tailwind
colors: {
  custom: {
    50: '#e59bff',
    500: '#d56dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d56dfe;
$custom-light: #e59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#d56dfe",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 283.034,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71244,
    "c": 0.22094,
    "h": 315.4
  },
  "luminance": 0.32239
}

Semantic roles & 50–950 ramp

primary
#D56DFE
secondary
#DBF6D0
accent
#E60041
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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