#D56DF8#D56DF8

#D56DF8 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 70.9% C 0.215 H 316.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D56DF8
RGBrgb(213, 109, 248)
HSLhsl(285, 91%, 70%)
HSVhsv(285, 56%, 97%)
CMYKcmyk(14.1%, 56%, 0%, 2.7%)
CIE-LABlab(63.23, 61.72, -52.69)
CIE-LCHlch(63.23, 81.15, 319.51°)
OKLaboklab(70.91% 0.1569 -0.147)
OKLCHoklch(70.91% 0.215 316.9)
XYZxyz(49.8500, 31.8625, 92.3129)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DF8 #90F86D
analogous
#8F6DF8 #D56DF8 #F86DD6
triadic
#D56DF8 #F8D56D #6DF8D5
tetradic
#D56DF8 #F88F6D #90F86D #6DD6F8
square
#D56DF8 #F88F6D #90F86D #6DD6F8
split-complementary
#D56DF8 #D6F86D #6DF88F
monochromatic
#AA0BE0 #C433F5 #D56DF8 #E6A7FB #F7E2FE

Accessibility & contrast

On white

2.85
#D56DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D56DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DF8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DF8#FFFFFF#000000##000000
##D56DF81.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FC
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#D483A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56df8;
/* rgb */ color: rgb(213, 109, 248);
/* oklch */ color: oklch(70.9% 0.215 316.9);
Tailwind
colors: {
  custom: {
    50: '#e59bfb',
    500: '#d56df8',
    950: '#000000',
  },
}
SCSS
$custom: #d56df8;
$custom-light: #e59bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d56df8",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 284.892,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.21507,
    "h": 316.9
  },
  "luminance": 0.31861
}

Semantic roles & 50–950 ramp

primary
#D56DF8
secondary
#D7F4CD
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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