#D56EFE#D56EFE

#D56EFE is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.4% C 0.220 H 315.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D56EFE
RGBrgb(213, 110, 254)
HSLhsl(283, 99%, 71%)
HSVhsv(283, 57%, 100%)
CMYKcmyk(16.1%, 56.7%, 0%, 0.4%)
CIE-LABlab(63.72, 62.43, -55.22)
CIE-LCHlch(63.72, 83.35, 318.51°)
OKLaboklab(71.37% 0.156 -0.1544)
OKLCHoklch(71.37% 0.22 315.3)
XYZxyz(50.9031, 32.4554, 97.3298)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EFE #97FE6E
analogous
#8D6EFE #D56EFE #FE6EDF
triadic
#D56EFE #FED56E #6EFED5
tetradic
#D56EFE #FE8D6E #97FE6E #6EDFFE
square
#D56EFE #FE8D6E #97FE6E #6EDFFE
split-complementary
#D56EFE #DFFE6E #6EFE8D
monochromatic
#AC02F0 #C331FE #D56EFE #E7ABFE #F6E1FF

Accessibility & contrast

On white

2.80
#D56EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D56EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EFE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EFE#FFFFFF#000000##000000
##D56EFE1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#D286AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d56efe;
/* rgb */ color: rgb(213, 110, 254);
/* oklch */ color: oklch(71.4% 0.220 315.3);
Tailwind
colors: {
  custom: {
    50: '#e59cff',
    500: '#d56efe',
    950: '#000000',
  },
}
SCSS
$custom: #d56efe;
$custom-light: #e59cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d56efe",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 282.917,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71373,
    "c": 0.2195,
    "h": 315.3
  },
  "luminance": 0.32454
}

Semantic roles & 50–950 ramp

primary
#D56EFE
secondary
#DCF7D1
accent
#E60041
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D56EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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