#DF56CD#DF56CD

#DF56CD is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.2% C 0.216 H 333.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#DF56CD
RGBrgb(223, 86, 205)
HSLhsl(308, 68%, 61%)
HSVhsv(308, 61%, 87%)
CMYKcmyk(0%, 61.4%, 8.1%, 12.5%)
CIE-LABlab(58.75, 66.87, -35.60)
CIE-LCHlch(58.75, 75.76, 331.97°)
OKLaboklab(67.24% 0.1926 -0.0972)
OKLCHoklch(67.24% 0.216 333.2)
XYZxyz(44.7788, 26.7547, 60.5515)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56CD #56DF68
analogous
#AC56DF #DF56CD #DF5688
triadic
#DF56CD #CDDF56 #56CDDF
tetradic
#DF56CD #DFAC56 #56DF68 #5688DF
square
#DF56CD #DFAC56 #56DF68 #5688DF
split-complementary
#DF56CD #88DF56 #56DFAC
monochromatic
#9D1E8C #D027BA #DF56CD #E989DC #F2BDEB

Accessibility & contrast

On white

3.31
#DF56CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#DF56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56CD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56CD#FFFFFF#000000##000000
##DF56CD1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D1
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#E8618A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #df56cd;
/* rgb */ color: rgb(223, 86, 205);
/* oklch */ color: oklch(67.2% 0.216 333.2);
Tailwind
colors: {
  custom: {
    50: '#ec8edc',
    500: '#df56cd',
    950: '#000000',
  },
}
SCSS
$custom: #df56cd;
$custom-light: #ec8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#df56cd",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 307.883,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.2158,
    "h": 333.2
  },
  "luminance": 0.26751
}

Semantic roles & 50–950 ramp

primary
#DF56CD
secondary
#AEE2B5
accent
#D02E15
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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