#DF56E4#DF56E4

#DF56E4 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.4% C 0.234 H 326.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#DF56E4
RGBrgb(223, 86, 228)
HSLhsl(298, 72%, 62%)
HSVhsv(298, 62%, 89%)
CMYKcmyk(2.2%, 62.3%, 0%, 10.6%)
CIE-LABlab(59.84, 70.61, -46.85)
CIE-LCHlch(59.84, 84.74, 326.43°)
OKLaboklab(68.4% 0.1947 -0.1297)
OKLCHoklch(68.4% 0.234 326.3)
XYZxyz(47.7619, 27.9480, 76.2626)
Luminance0.2794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56E4 #5BE456
analogous
#9856E4 #DF56E4 #E456A2
triadic
#DF56E4 #E4DF56 #56E4DF
tetradic
#DF56E4 #E49856 #5BE456 #56A2E4
square
#DF56E4 #E49856 #5BE456 #56A2E4
split-complementary
#DF56E4 #A2E456 #56E498
monochromatic
#A01AA5 #D423DA #DF56E4 #E98BEC #F3C0F5

Accessibility & contrast

On white

3.19
#DF56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#DF56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56E4
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56E4#FFFFFF#000000##000000
##DF56E41.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#7496E0
Tritanopia (blue-blind)
#E56A96
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df56e4;
/* rgb */ color: rgb(223, 86, 228);
/* oklch */ color: oklch(68.4% 0.234 326.3);
Tailwind
colors: {
  custom: {
    50: '#ec8eed',
    500: '#df56e4',
    950: '#000000',
  },
}
SCSS
$custom: #df56e4;
$custom-light: #ec8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#df56e4",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 297.887,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.68395,
    "c": 0.2339,
    "h": 326.3
  },
  "luminance": 0.27945
}

Semantic roles & 50–950 ramp

primary
#DF56E4
secondary
#B2E5B0
accent
#D51118
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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