#DF56DB#DF56DB

#DF56DB is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.9% C 0.227 H 328.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#DF56DB
RGBrgb(223, 86, 219)
HSLhsl(302, 68%, 61%)
HSVhsv(302, 61%, 87%)
CMYKcmyk(0%, 61.4%, 1.8%, 12.5%)
CIE-LABlab(59.40, 69.11, -42.50)
CIE-LCHlch(59.40, 81.13, 328.41°)
OKLaboklab(67.93% 0.1941 -0.1171)
OKLCHoklch(67.93% 0.227 328.9)
XYZxyz(46.5449, 27.4612, 69.8531)
Luminance0.2746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56DB #56DF5A
analogous
#9E56DF #DF56DB #DF5696
triadic
#DF56DB #DBDF56 #56DBDF
tetradic
#DF56DB #DF9E56 #56DF5A #5696DF
square
#DF56DB #DF9E56 #56DF5A #5696DF
split-complementary
#DF56DB #96DF56 #56DF9E
monochromatic
#9D1E99 #D027CB #DF56DB #E989E6 #F2BDF1

Accessibility & contrast

On white

3.23
#DF56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#DF56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56DB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56DB#FFFFFF#000000##000000
##DF56DB1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#7996D7
Tritanopia (blue-blind)
#E66691
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #df56db;
/* rgb */ color: rgb(223, 86, 219);
/* oklch */ color: oklch(67.9% 0.227 328.9);
Tailwind
colors: {
  custom: {
    50: '#ec8ee6',
    500: '#df56db',
    950: '#000000',
  },
}
SCSS
$custom: #df56db;
$custom-light: #ec8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#df56db",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 301.752,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6793,
    "c": 0.22665,
    "h": 328.9
  },
  "luminance": 0.27458
}

Semantic roles & 50–950 ramp

primary
#DF56DB
secondary
#AEE2B0
accent
#D01B15
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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