#DF56E8#DF56E8

#DF56E8 is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.6% C 0.237 H 325.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#DF56E8
RGBrgb(223, 86, 232)
HSLhsl(296, 76%, 62%)
HSVhsv(296, 63%, 91%)
CMYKcmyk(3.9%, 62.9%, 0%, 9%)
CIE-LABlab(60.04, 71.29, -48.77)
CIE-LCHlch(60.04, 86.37, 325.62°)
OKLaboklab(68.61% 0.1948 -0.1352)
OKLCHoklch(68.61% 0.237 325.2)
XYZxyz(48.3236, 28.1727, 79.2209)
Luminance0.2817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56E8 #5FE856
analogous
#9656E8 #DF56E8 #E856A8
triadic
#DF56E8 #E8DF56 #56E8DF
tetradic
#DF56E8 #E89656 #5FE856 #56A8E8
square
#DF56E8 #E89656 #5FE856 #56A8E8
split-complementary
#DF56E8 #A8E856 #56E896
monochromatic
#A317AC #D520E1 #DF56E8 #E98CEF #F3C2F7

Accessibility & contrast

On white

3.17
#DF56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#DF56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56E8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56E8#FFFFFF#000000##000000
##DF56E81.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86EC
Deuteranopia (green-blind)
#7297E4
Tritanopia (blue-blind)
#E46B98
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #df56e8;
/* rgb */ color: rgb(223, 86, 232);
/* oklch */ color: oklch(68.6% 0.237 325.2);
Tailwind
colors: {
  custom: {
    50: '#ec8ff0',
    500: '#df56e8',
    950: '#000000',
  },
}
SCSS
$custom: #df56e8;
$custom-light: #ec8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#df56e8",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 296.301,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68607,
    "c": 0.23717,
    "h": 325.2
  },
  "luminance": 0.2817
}

Semantic roles & 50–950 ramp

primary
#DF56E8
secondary
#B6E8B2
accent
#D80D1A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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