#D56CF8#D56CF8

#D56CF8 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.8% C 0.217 H 316.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D56CF8
RGBrgb(213, 108, 248)
HSLhsl(285, 91%, 70%)
HSVhsv(285, 56%, 97%)
CMYKcmyk(14.1%, 56.5%, 0%, 2.7%)
CIE-LABlab(63.05, 62.19, -52.97)
CIE-LCHlch(63.05, 81.69, 319.58°)
OKLaboklab(70.79% 0.1582 -0.1479)
OKLCHoklch(70.79% 0.217 316.9)
XYZxyz(49.7439, 31.6504, 92.2775)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CF8 #8FF86C
analogous
#8F6CF8 #D56CF8 #F86CD5
triadic
#D56CF8 #F8D56C #6CF8D5
tetradic
#D56CF8 #F88F6C #8FF86C #6CD5F8
square
#D56CF8 #F88F6C #8FF86C #6CD5F8
split-complementary
#D56CF8 #D5F86C #6CF88F
monochromatic
#AA0BDF #C432F5 #D56CF8 #E6A6FB #F6E1FE

Accessibility & contrast

On white

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

On black

7.33
#D56CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CF8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CF8#FFFFFF#000000##000000
##D56CF81.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#D483A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56cf8;
/* rgb */ color: rgb(213, 108, 248);
/* oklch */ color: oklch(70.8% 0.217 316.9);
Tailwind
colors: {
  custom: {
    50: '#e59bfb',
    500: '#d56cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d56cf8;
$custom-light: #e59bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cf8",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 285,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.21653,
    "h": 316.9
  },
  "luminance": 0.31649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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