#DF56D2#DF56D2

#DF56D2 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.220 H 331.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#DF56D2
RGBrgb(223, 86, 210)
HSLhsl(306, 68%, 61%)
HSVhsv(306, 61%, 87%)
CMYKcmyk(0%, 61.4%, 5.8%, 12.5%)
CIE-LABlab(58.97, 67.66, -38.08)
CIE-LCHlch(58.97, 77.64, 330.63°)
OKLaboklab(67.48% 0.1932 -0.1044)
OKLCHoklch(67.48% 0.22 331.6)
XYZxyz(45.3920, 27.0000, 63.7810)
Luminance0.2700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56D2 #56DF63
analogous
#A756DF #DF56D2 #DF568E
triadic
#DF56D2 #D2DF56 #56D2DF
tetradic
#DF56D2 #DFA756 #56DF63 #568EDF
square
#DF56D2 #DFA756 #56DF63 #568EDF
split-complementary
#DF56D2 #8EDF56 #56DFA7
monochromatic
#9D1E91 #D027C0 #DF56D2 #E989E0 #F2BDED

Accessibility & contrast

On white

3.28
#DF56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#DF56D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56D2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56D2#FFFFFF#000000##000000
##DF56D21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#7D95CE
Tritanopia (blue-blind)
#E8638C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #df56d2;
/* rgb */ color: rgb(223, 86, 210);
/* oklch */ color: oklch(67.5% 0.220 331.6);
Tailwind
colors: {
  custom: {
    50: '#ec8ee0',
    500: '#df56d2',
    950: '#000000',
  },
}
SCSS
$custom: #df56d2;
$custom-light: #ec8ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#df56d2",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 305.693,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.21962,
    "h": 331.6
  },
  "luminance": 0.26997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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