#DF56D5#DF56D5

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

Color values

HEX#DF56D5
RGBrgb(223, 86, 213)
HSLhsl(304, 68%, 61%)
HSVhsv(304, 61%, 87%)
CMYKcmyk(0%, 61.4%, 4.5%, 12.5%)
CIE-LABlab(59.11, 68.14, -39.56)
CIE-LCHlch(59.11, 78.79, 329.86°)
OKLaboklab(67.63% 0.1935 -0.1086)
OKLCHoklch(67.63% 0.222 330.7)
XYZxyz(45.7692, 27.1509, 65.7679)
Luminance0.2715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56D5 #56DF60
analogous
#A556DF #DF56D5 #DF5690
triadic
#DF56D5 #D5DF56 #56D5DF
tetradic
#DF56D5 #DFA556 #56DF60 #5690DF
square
#DF56D5 #DFA556 #56DF60 #5690DF
split-complementary
#DF56D5 #90DF56 #56DFA5
monochromatic
#9D1E94 #D027C4 #DF56D5 #E989E2 #F2BDEF

Accessibility & contrast

On white

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

On black

6.43
#DF56D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56D5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56D5#FFFFFF#000000##000000
##DF56D51.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D9
Deuteranopia (green-blind)
#7B95D1
Tritanopia (blue-blind)
#E7648E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df56d5;
/* rgb */ color: rgb(223, 86, 213);
/* oklch */ color: oklch(67.6% 0.222 330.7);
Tailwind
colors: {
  custom: {
    50: '#ec8ee2',
    500: '#df56d5',
    950: '#000000',
  },
}
SCSS
$custom: #df56d5;
$custom-light: #ec8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#df56d5",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 304.38,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6763,
    "c": 0.22193,
    "h": 330.7
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#DF56D5
secondary
#AEE2B2
accent
#D02315
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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