#D56CFE#D56CFE

#D56CFE is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.1% C 0.222 H 315.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D56CFE
RGBrgb(213, 108, 254)
HSLhsl(283, 99%, 71%)
HSVhsv(283, 57%, 100%)
CMYKcmyk(16.1%, 57.5%, 0%, 0.4%)
CIE-LABlab(63.37, 63.38, -55.77)
CIE-LCHlch(63.37, 84.42, 318.65°)
OKLaboklab(71.12% 0.1584 -0.156)
OKLCHoklch(71.12% 0.222 315.4)
XYZxyz(50.6897, 32.0287, 97.2587)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CFE #95FE6C
analogous
#8C6CFE #D56CFE #FE6CDE
triadic
#D56CFE #FED56C #6CFED5
tetradic
#D56CFE #FE8C6C #95FE6C #6CDEFE
square
#D56CFE #FE8C6C #95FE6C #6CDEFE
split-complementary
#D56CFE #DEFE6C #6CFE8C
monochromatic
#AC02EE #C42FFE #D56CFE #E6A9FE #F6E1FF

Accessibility & contrast

On white

2.84
#D56CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D56CFE#FFFFFF#000000##000000
##D56CFE1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#D285AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56cfe;
/* rgb */ color: rgb(213, 108, 254);
/* oklch */ color: oklch(71.1% 0.222 315.4);
Tailwind
colors: {
  custom: {
    50: '#e59bff',
    500: '#d56cfe',
    950: '#000000',
  },
}
SCSS
$custom: #d56cfe;
$custom-light: #e59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cfe",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 283.151,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.22237,
    "h": 315.4
  },
  "luminance": 0.32027
}

Semantic roles & 50–950 ramp

primary
#D56CFE
secondary
#DAF6CF
accent
#E60040
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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