#DF56E1#DF56E1

#DF56E1 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.2% C 0.231 H 327.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#DF56E1
RGBrgb(223, 86, 225)
HSLhsl(299, 70%, 61%)
HSVhsv(299, 62%, 88%)
CMYKcmyk(0.9%, 61.8%, 0%, 11.8%)
CIE-LABlab(59.69, 70.11, -45.41)
CIE-LCHlch(59.69, 83.53, 327.07°)
OKLaboklab(68.24% 0.1945 -0.1255)
OKLCHoklch(68.24% 0.231 327.2)
XYZxyz(47.3491, 27.7828, 74.0883)
Luminance0.2778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56E1 #58E156
analogous
#9956E1 #DF56E1 #E1569D
triadic
#DF56E1 #E1DF56 #56E1DF
tetradic
#DF56E1 #E19956 #58E156 #569DE1
square
#DF56E1 #E19956 #58E156 #569DE1
split-complementary
#DF56E1 #9DE156 #56E199
monochromatic
#9E1CA0 #D226D4 #DF56E1 #E98AEA #F3BEF3

Accessibility & contrast

On white

3.20
#DF56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#DF56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56E1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56E1#FFFFFF#000000##000000
##DF56E11.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E5
Deuteranopia (green-blind)
#7596DD
Tritanopia (blue-blind)
#E56994
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df56e1;
/* rgb */ color: rgb(223, 86, 225);
/* oklch */ color: oklch(68.2% 0.231 327.2);
Tailwind
colors: {
  custom: {
    50: '#ec8eeb',
    500: '#df56e1',
    950: '#000000',
  },
}
SCSS
$custom: #df56e1;
$custom-light: #ec8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#df56e1",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 299.137,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.68238,
    "c": 0.23147,
    "h": 327.2
  },
  "luminance": 0.2778
}

Semantic roles & 50–950 ramp

primary
#DF56E1
secondary
#B0E4AF
accent
#D21416
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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