#D56EFC#D56EFC

#D56EFC is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.3% C 0.218 H 315.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D56EFC
RGBrgb(213, 110, 252)
HSLhsl(284, 96%, 71%)
HSVhsv(284, 56%, 99%)
CMYKcmyk(15.5%, 56.3%, 0%, 1.2%)
CIE-LABlab(63.61, 62.03, -54.28)
CIE-LCHlch(63.61, 82.43, 318.81°)
OKLaboklab(71.26% 0.1559 -0.1517)
OKLCHoklch(71.26% 0.218 315.8)
XYZxyz(50.5845, 32.3279, 95.6519)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EFC #95FC6E
analogous
#8E6EFC #D56EFC #FC6EDC
triadic
#D56EFC #FCD56E #6EFCD5
tetradic
#D56EFC #FC8E6E #95FC6E #6EDCFC
square
#D56EFC #FC8E6E #95FC6E #6EDCFC
split-complementary
#D56EFC #DCFC6E #6EFC8E
monochromatic
#AC05EB #C432FB #D56EFC #E6AAFD #F6E1FE

Accessibility & contrast

On white

2.81
#D56EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D56EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EFC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EFC#FFFFFF#000000##000000
##D56EFC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#D386AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d56efc;
/* rgb */ color: rgb(213, 110, 252);
/* oklch */ color: oklch(71.3% 0.218 315.8);
Tailwind
colors: {
  custom: {
    50: '#e59cfe',
    500: '#d56efc',
    950: '#000000',
  },
}
SCSS
$custom: #d56efc;
$custom-light: #e59cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d56efc",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 283.521,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71263,
    "c": 0.21753,
    "h": 315.8
  },
  "luminance": 0.32326
}

Semantic roles & 50–950 ramp

primary
#D56EFC
secondary
#DAF6D0
accent
#E6003F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D56EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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