#DF56DC#DF56DC

#DF56DC is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.0% C 0.227 H 328.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#DF56DC
RGBrgb(223, 86, 220)
HSLhsl(301, 68%, 61%)
HSVhsv(301, 61%, 87%)
CMYKcmyk(0%, 61.4%, 1.3%, 12.5%)
CIE-LABlab(59.45, 69.28, -42.98)
CIE-LCHlch(59.45, 81.53, 328.18°)
OKLaboklab(67.98% 0.1942 -0.1185)
OKLCHoklch(67.98% 0.227 328.6)
XYZxyz(46.6769, 27.5140, 70.5485)
Luminance0.2751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56DC #56DF59
analogous
#9D56DF #DF56DC #DF5697
triadic
#DF56DC #DCDF56 #56DCDF
tetradic
#DF56DC #DF9D56 #56DF59 #5697DF
square
#DF56DC #DF9D56 #56DF59 #5697DF
split-complementary
#DF56DC #97DF56 #56DF9D
monochromatic
#9D1E9A #D027CD #DF56DC #E989E7 #F2BDF1

Accessibility & contrast

On white

3.23
#DF56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#DF56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56DC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56DC#FFFFFF#000000##000000
##DF56DC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#7896D8
Tritanopia (blue-blind)
#E66792
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #df56dc;
/* rgb */ color: rgb(223, 86, 220);
/* oklch */ color: oklch(68.0% 0.227 328.6);
Tailwind
colors: {
  custom: {
    50: '#ec8ee7',
    500: '#df56dc',
    950: '#000000',
  },
}
SCSS
$custom: #df56dc;
$custom-light: #ec8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#df56dc",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 301.314,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6798,
    "c": 0.22745,
    "h": 328.6
  },
  "luminance": 0.27511
}

Semantic roles & 50–950 ramp

primary
#DF56DC
secondary
#AEE2AF
accent
#D01915
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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