#D56EFB#D56EFB

#D56EFB is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.2% C 0.217 H 316.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D56EFB
RGBrgb(213, 110, 251)
HSLhsl(284, 95%, 71%)
HSVhsv(284, 56%, 98%)
CMYKcmyk(15.1%, 56.2%, 0%, 1.6%)
CIE-LABlab(63.56, 61.84, -53.82)
CIE-LCHlch(63.56, 81.97, 318.97°)
OKLaboklab(71.21% 0.1559 -0.1503)
OKLCHoklch(71.21% 0.217 316)
XYZxyz(50.4264, 32.2647, 94.8195)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EFB #94FB6E
analogous
#8E6EFB #D56EFB #FB6EDA
triadic
#D56EFB #FBD56E #6EFBD5
tetradic
#D56EFB #FB8E6E #94FB6E #6EDAFB
square
#D56EFB #FB8E6E #94FB6E #6EDAFB
split-complementary
#D56EFB #DAFB6E #6EFB8E
monochromatic
#AB06E8 #C432F9 #D56EFB #E6AAFD #F6E1FE

Accessibility & contrast

On white

2.82
#D56EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D56EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EFB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EFB#FFFFFF#000000##000000
##D56EFB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#D385AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d56efb;
/* rgb */ color: rgb(213, 110, 251);
/* oklch */ color: oklch(71.2% 0.217 316.0);
Tailwind
colors: {
  custom: {
    50: '#e59cfd',
    500: '#d56efb',
    950: '#000000',
  },
}
SCSS
$custom: #d56efb;
$custom-light: #e59cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d56efb",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 283.83,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71208,
    "c": 0.21654,
    "h": 316
  },
  "luminance": 0.32263
}

Semantic roles & 50–950 ramp

primary
#D56EFB
secondary
#DAF5CF
accent
#E6003E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D56EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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