#DF56CB#DF56CB

#DF56CB is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.1% C 0.214 H 333.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#DF56CB
RGBrgb(223, 86, 203)
HSLhsl(309, 68%, 61%)
HSVhsv(309, 61%, 87%)
CMYKcmyk(0%, 61.4%, 9%, 12.5%)
CIE-LABlab(58.66, 66.56, -34.60)
CIE-LCHlch(58.66, 75.02, 332.54°)
OKLaboklab(67.15% 0.1924 -0.0944)
OKLCHoklch(67.15% 0.214 333.9)
XYZxyz(44.5389, 26.6588, 59.2882)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56CB #56DF6A
analogous
#AE56DF #DF56CB #DF5686
triadic
#DF56CB #CBDF56 #56CBDF
tetradic
#DF56CB #DFAE56 #56DF6A #5686DF
square
#DF56CB #DFAE56 #56DF6A #5686DF
split-complementary
#DF56CB #86DF56 #56DFAE
monochromatic
#9D1E8A #D027B8 #DF56CB #E989DB #F2BDEB

Accessibility & contrast

On white

3.32
#DF56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#DF56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56CB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56CB#FFFFFF#000000##000000
##DF56CB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CF
Deuteranopia (green-blind)
#8094C7
Tritanopia (blue-blind)
#E96089
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df56cb;
/* rgb */ color: rgb(223, 86, 203);
/* oklch */ color: oklch(67.1% 0.214 333.9);
Tailwind
colors: {
  custom: {
    50: '#ec8edb',
    500: '#df56cb',
    950: '#000000',
  },
}
SCSS
$custom: #df56cb;
$custom-light: #ec8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#df56cb",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 308.759,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.21431,
    "h": 333.9
  },
  "luminance": 0.26655
}

Semantic roles & 50–950 ramp

primary
#DF56CB
secondary
#AEE2B6
accent
#D03115
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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