#DF56DD#DF56DD

#DF56DD is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.0% C 0.228 H 328.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#DF56DD
RGBrgb(223, 86, 221)
HSLhsl(301, 68%, 61%)
HSVhsv(301, 61%, 87%)
CMYKcmyk(0%, 61.4%, 0.9%, 12.5%)
CIE-LABlab(59.50, 69.44, -43.47)
CIE-LCHlch(59.50, 81.92, 327.95°)
OKLaboklab(68.03% 0.1942 -0.1199)
OKLCHoklch(68.03% 0.228 328.3)
XYZxyz(46.8098, 27.5671, 71.2481)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56DD #56DF58
analogous
#9C56DF #DF56DD #DF5698
triadic
#DF56DD #DDDF56 #56DDDF
tetradic
#DF56DD #DF9C56 #56DF58 #5698DF
square
#DF56DD #DF9C56 #56DF58 #5698DF
split-complementary
#DF56DD #98DF56 #56DF9C
monochromatic
#9D1E9B #D027CE #DF56DD #E989E7 #F2BDF2

Accessibility & contrast

On white

3.22
#DF56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#DF56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56DD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56DD#FFFFFF#000000##000000
##DF56DD1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E1
Deuteranopia (green-blind)
#7896D9
Tritanopia (blue-blind)
#E66792
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #df56dd;
/* rgb */ color: rgb(223, 86, 221);
/* oklch */ color: oklch(68.0% 0.228 328.3);
Tailwind
colors: {
  custom: {
    50: '#ec8ee8',
    500: '#df56dd',
    950: '#000000',
  },
}
SCSS
$custom: #df56dd;
$custom-light: #ec8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#df56dd",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 300.876,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.68031,
    "c": 0.22824,
    "h": 328.3
  },
  "luminance": 0.27564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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