#D56BF7#D56BF7

#D56BF7 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.6% C 0.217 H 317.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D56BF7
RGBrgb(213, 107, 247)
HSLhsl(285, 90%, 69%)
HSVhsv(285, 57%, 97%)
CMYKcmyk(13.8%, 56.7%, 0%, 3.1%)
CIE-LABlab(62.83, 62.47, -52.78)
CIE-LCHlch(62.83, 81.78, 319.81°)
OKLaboklab(70.6% 0.1594 -0.1473)
OKLCHoklch(70.6% 0.217 317.3)
XYZxyz(49.4844, 31.3787, 91.4277)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BF7 #8DF76B
analogous
#8F6BF7 #D56BF7 #F76BD3
triadic
#D56BF7 #F7D56B #6BF7D5
tetradic
#D56BF7 #F78F6B #8DF76B #6BD3F7
square
#D56BF7 #F78F6B #8DF76B #6BD3F7
split-complementary
#D56BF7 #D3F76B #6BF78F
monochromatic
#A90CDC #C531F4 #D56BF7 #E5A5FA #F6DFFD

Accessibility & contrast

On white

2.89
#D56BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D56BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BF7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BF7#FFFFFF#000000##000000
##D56BF71.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#D482A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56bf7;
/* rgb */ color: rgb(213, 107, 247);
/* oklch */ color: oklch(70.6% 0.217 317.3);
Tailwind
colors: {
  custom: {
    50: '#e59afa',
    500: '#d56bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d56bf7;
$custom-light: #e59afa;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bf7",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 285.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70604,
    "c": 0.21701,
    "h": 317.3
  },
  "luminance": 0.31377
}

Semantic roles & 50–950 ramp

primary
#D56BF7
secondary
#D5F3CB
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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