#D56DF7#D56DF7

#D56DF7 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.9% C 0.214 H 317.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D56DF7
RGBrgb(213, 109, 247)
HSLhsl(285, 90%, 70%)
HSVhsv(285, 56%, 97%)
CMYKcmyk(13.8%, 55.9%, 0%, 3.1%)
CIE-LABlab(63.18, 61.52, -52.22)
CIE-LCHlch(63.18, 80.70, 319.68°)
OKLaboklab(70.86% 0.1569 -0.1457)
OKLCHoklch(70.86% 0.214 317.1)
XYZxyz(49.6953, 31.8006, 91.4980)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DF7 #8FF76D
analogous
#906DF7 #D56DF7 #F76DD4
triadic
#D56DF7 #F7D56D #6DF7D5
tetradic
#D56DF7 #F7906D #8FF76D #6DD4F7
square
#D56DF7 #F7906D #8FF76D #6DD4F7
split-complementary
#D56DF7 #D4F76D #6DF790
monochromatic
#AA0CDD #C433F4 #D56DF7 #E6A7FA #F6E1FD

Accessibility & contrast

On white

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

On black

7.36
#D56DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DF7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DF7#FFFFFF#000000##000000
##D56DF71.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#D483A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56df7;
/* rgb */ color: rgb(213, 109, 247);
/* oklch */ color: oklch(70.9% 0.214 317.1);
Tailwind
colors: {
  custom: {
    50: '#e59bfa',
    500: '#d56df7',
    950: '#000000',
  },
}
SCSS
$custom: #d56df7;
$custom-light: #e59bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d56df7",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 285.217,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70861,
    "c": 0.2141,
    "h": 317.1
  },
  "luminance": 0.31799
}

Semantic roles & 50–950 ramp

primary
#D56DF7
secondary
#D6F3CC
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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