#D56DF3#D56DF3

#D56DF3 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.6% C 0.210 H 318.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D56DF3
RGBrgb(213, 109, 243)
HSLhsl(287, 85%, 69%)
HSVhsv(287, 55%, 95%)
CMYKcmyk(12.3%, 55.1%, 0%, 4.7%)
CIE-LABlab(62.97, 60.74, -50.33)
CIE-LCHlch(62.97, 78.89, 320.35°)
OKLaboklab(70.65% 0.1566 -0.1402)
OKLCHoklch(70.65% 0.21 318.2)
XYZxyz(49.0847, 31.5564, 88.2821)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DF3 #8BF36D
analogous
#926DF3 #D56DF3 #F36DCE
triadic
#D56DF3 #F3D56D #6DF3D5
tetradic
#D56DF3 #F3926D #8BF36D #6DCEF3
square
#D56DF3 #F3926D #8BF36D #6DCEF3
split-complementary
#D56DF3 #CEF36D #6DF392
monochromatic
#A911D4 #C534EE #D56DF3 #E5A6F8 #F6DEFC

Accessibility & contrast

On white

2.87
#D56DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D56DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DF3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DF3#FFFFFF#000000##000000
##D56DF31.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F7
Deuteranopia (green-blind)
#739CEF
Tritanopia (blue-blind)
#D582A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56df3;
/* rgb */ color: rgb(213, 109, 243);
/* oklch */ color: oklch(70.6% 0.210 318.2);
Tailwind
colors: {
  custom: {
    50: '#e59bf7',
    500: '#d56df3',
    950: '#000000',
  },
}
SCSS
$custom: #d56df3;
$custom-light: #e59bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d56df3",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 286.567,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70646,
    "c": 0.21021,
    "h": 318.2
  },
  "luminance": 0.31554
}

Semantic roles & 50–950 ramp

primary
#D56DF3
secondary
#D3F2CA
accent
#E10436
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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