#D56DFD#D56DFD

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

Color values

HEX#D56DFD
RGBrgb(213, 109, 253)
HSLhsl(283, 97%, 71%)
HSVhsv(283, 57%, 99%)
CMYKcmyk(15.8%, 56.9%, 0%, 0.8%)
CIE-LABlab(63.49, 62.71, -55.03)
CIE-LCHlch(63.49, 83.43, 318.73°)
OKLaboklab(71.19% 0.1572 -0.1539)
OKLCHoklch(71.19% 0.22 315.6)
XYZxyz(50.6361, 32.1769, 96.4529)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DFD #95FD6D
analogous
#8D6DFD #D56DFD #FD6DDD
triadic
#D56DFD #FDD56D #6DFDD5
tetradic
#D56DFD #FD8D6D #95FD6D #6DDDFD
square
#D56DFD #FD8D6D #95FD6D #6DDDFD
split-complementary
#D56DFD #DDFD6D #6DFD8D
monochromatic
#AC03EC #C431FC #D56DFD #E6A9FE #F6E1FF

Accessibility & contrast

On white

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

On black

7.43
#D56DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DFD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DFD#FFFFFF#000000##000000
##D56DFD1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#D385AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d56dfd;
/* rgb */ color: rgb(213, 109, 253);
/* oklch */ color: oklch(71.2% 0.220 315.6);
Tailwind
colors: {
  custom: {
    50: '#e59bff',
    500: '#d56dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d56dfd;
$custom-light: #e59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#d56dfd",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 283.333,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71189,
    "c": 0.21996,
    "h": 315.6
  },
  "luminance": 0.32175
}

Semantic roles & 50–950 ramp

primary
#D56DFD
secondary
#DAF6D0
accent
#E60040
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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