#D56EF8#D56EF8

#D56EF8 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.0% C 0.214 H 316.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D56EF8
RGBrgb(213, 110, 248)
HSLhsl(285, 91%, 70%)
HSVhsv(285, 56%, 97%)
CMYKcmyk(14.1%, 55.6%, 0%, 2.7%)
CIE-LABlab(63.41, 61.24, -52.41)
CIE-LCHlch(63.41, 80.61, 319.44°)
OKLaboklab(71.05% 0.1557 -0.1462)
OKLCHoklch(71.05% 0.214 316.8)
XYZxyz(49.9573, 32.0771, 92.3487)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EF8 #91F86E
analogous
#906EF8 #D56EF8 #F86ED6
triadic
#D56EF8 #F8D56E #6EF8D5
tetradic
#D56EF8 #F8906E #91F86E #6ED6F8
square
#D56EF8 #F8906E #91F86E #6ED6F8
split-complementary
#D56EF8 #D6F86E #6EF890
monochromatic
#AB0BE1 #C434F5 #D56EF8 #E6A8FB #F7E2FE

Accessibility & contrast

On white

2.83
#D56EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D56EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EF8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EF8#FFFFFF#000000##000000
##D56EF81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#D484A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56ef8;
/* rgb */ color: rgb(213, 110, 248);
/* oklch */ color: oklch(71.0% 0.214 316.8);
Tailwind
colors: {
  custom: {
    50: '#e59cfb',
    500: '#d56ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d56ef8;
$custom-light: #e59cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ef8",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 284.783,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71045,
    "c": 0.21359,
    "h": 316.8
  },
  "luminance": 0.32075
}

Semantic roles & 50–950 ramp

primary
#D56EF8
secondary
#D7F4CE
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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