#DF56D4#DF56D4

#DF56D4 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.6% C 0.221 H 331.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#DF56D4
RGBrgb(223, 86, 212)
HSLhsl(305, 68%, 61%)
HSVhsv(305, 61%, 87%)
CMYKcmyk(0%, 61.4%, 4.9%, 12.5%)
CIE-LABlab(59.07, 67.98, -39.06)
CIE-LCHlch(59.07, 78.40, 330.12°)
OKLaboklab(67.58% 0.1934 -0.1072)
OKLCHoklch(67.58% 0.221 331)
XYZxyz(45.6427, 27.1003, 65.1015)
Luminance0.2710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56D4 #56DF61
analogous
#A656DF #DF56D4 #DF568F
triadic
#DF56D4 #D4DF56 #56D4DF
tetradic
#DF56D4 #DFA656 #56DF61 #568FDF
square
#DF56D4 #DFA656 #56DF61 #568FDF
split-complementary
#DF56D4 #8FDF56 #56DFA6
monochromatic
#9D1E93 #D027C3 #DF56D4 #E989E1 #F2BDEE

Accessibility & contrast

On white

3.27
#DF56D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#DF56D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56D4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56D4#FFFFFF#000000##000000
##DF56D41.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D8
Deuteranopia (green-blind)
#7C95D0
Tritanopia (blue-blind)
#E7638D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df56d4;
/* rgb */ color: rgb(223, 86, 212);
/* oklch */ color: oklch(67.6% 0.221 331.0);
Tailwind
colors: {
  custom: {
    50: '#ec8ee1',
    500: '#df56d4',
    950: '#000000',
  },
}
SCSS
$custom: #df56d4;
$custom-light: #ec8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#df56d4",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 304.818,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6758,
    "c": 0.22116,
    "h": 331
  },
  "luminance": 0.27097
}

Semantic roles & 50–950 ramp

primary
#DF56D4
secondary
#AEE2B3
accent
#D02415
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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