#DF56DF#DF56DF

#DF56DF is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.230 H 327.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#DF56DF
RGBrgb(223, 86, 223)
HSLhsl(300, 68%, 61%)
HSVhsv(300, 61%, 87%)
CMYKcmyk(0%, 61.4%, 0%, 12.5%)
CIE-LABlab(59.59, 69.77, -44.44)
CIE-LCHlch(59.59, 82.72, 327.51°)
OKLaboklab(68.13% 0.1944 -0.1227)
OKLCHoklch(68.13% 0.23 327.7)
XYZxyz(47.0778, 27.6744, 72.6598)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56DF #56DF56
analogous
#9A56DF #DF56DF #DF569A
triadic
#DF56DF #DFDF56 #56DFDF
tetradic
#DF56DF #DF9A56 #56DF56 #569ADF
square
#DF56DF #DF9A56 #56DF56 #569ADF
split-complementary
#DF56DF #9ADF56 #56DF9A
monochromatic
#9D1E9D #D027D0 #DF56DF #E989E9 #F2BDF2

Accessibility & contrast

On white

3.21
#DF56DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#DF56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56DF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56DF#FFFFFF#000000##000000
##DF56DF1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#E56893
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #df56df;
/* rgb */ color: rgb(223, 86, 223);
/* oklch */ color: oklch(68.1% 0.230 327.7);
Tailwind
colors: {
  custom: {
    50: '#ec8ee9',
    500: '#df56df',
    950: '#000000',
  },
}
SCSS
$custom: #df56df;
$custom-light: #ec8ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#df56df",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 300,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.68134,
    "c": 0.22985,
    "h": 327.7
  },
  "luminance": 0.27671
}

Semantic roles & 50–950 ramp

primary
#DF56DF
secondary
#AEE2AE
accent
#D01515
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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