#D56CF7#D56CF7

#D56CF7 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.7% C 0.216 H 317.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#D56CF7
RGBrgb(213, 108, 247)
HSLhsl(285, 90%, 70%)
HSVhsv(285, 56%, 97%)
CMYKcmyk(13.8%, 56.3%, 0%, 3.1%)
CIE-LABlab(63.00, 62.00, -52.50)
CIE-LCHlch(63.00, 81.24, 319.74°)
OKLaboklab(70.73% 0.1581 -0.1465)
OKLCHoklch(70.73% 0.216 317.2)
XYZxyz(49.5892, 31.5885, 91.4627)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CF7 #8EF76C
analogous
#906CF7 #D56CF7 #F76CD3
triadic
#D56CF7 #F7D56C #6CF7D5
tetradic
#D56CF7 #F7906C #8EF76C #6CD3F7
square
#D56CF7 #F7906C #8EF76C #6CD3F7
split-complementary
#D56CF7 #D3F76C #6CF790
monochromatic
#AA0CDD #C432F4 #D56CF7 #E6A6FA #F6E0FD

Accessibility & contrast

On white

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

On black

7.32
#D56CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CF7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CF7#FFFFFF#000000##000000
##D56CF71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#D482A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56cf7;
/* rgb */ color: rgb(213, 108, 247);
/* oklch */ color: oklch(70.7% 0.216 317.2);
Tailwind
colors: {
  custom: {
    50: '#e59bfa',
    500: '#d56cf7',
    950: '#000000',
  },
}
SCSS
$custom: #d56cf7;
$custom-light: #e59bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cf7",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 285.324,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70732,
    "c": 0.21556,
    "h": 317.2
  },
  "luminance": 0.31587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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