#DF56E2#DF56E2

#DF56E2 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.3% C 0.232 H 326.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#DF56E2
RGBrgb(223, 86, 226)
HSLhsl(299, 71%, 61%)
HSVhsv(299, 62%, 89%)
CMYKcmyk(1.3%, 61.9%, 0%, 11.4%)
CIE-LABlab(59.74, 70.27, -45.89)
CIE-LCHlch(59.74, 83.93, 326.85°)
OKLaboklab(68.29% 0.1945 -0.1269)
OKLCHoklch(68.29% 0.232 326.9)
XYZxyz(47.4859, 27.8376, 74.8088)
Luminance0.2783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56E2 #59E256
analogous
#9956E2 #DF56E2 #E2569F
triadic
#DF56E2 #E2DF56 #56E2DF
tetradic
#DF56E2 #E29956 #59E256 #569FE2
square
#DF56E2 #E29956 #59E256 #569FE2
split-complementary
#DF56E2 #9FE256 #56E299
monochromatic
#9F1CA2 #D225D6 #DF56E2 #E98AEB #F3BEF4

Accessibility & contrast

On white

3.20
#DF56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#DF56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56E2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56E2#FFFFFF#000000##000000
##DF56E21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E6
Deuteranopia (green-blind)
#7596DE
Tritanopia (blue-blind)
#E56995
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df56e2;
/* rgb */ color: rgb(223, 86, 226);
/* oklch */ color: oklch(68.3% 0.232 326.9);
Tailwind
colors: {
  custom: {
    50: '#ec8eeb',
    500: '#df56e2',
    950: '#000000',
  },
}
SCSS
$custom: #df56e2;
$custom-light: #ec8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#df56e2",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 298.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6829,
    "c": 0.23226,
    "h": 326.9
  },
  "luminance": 0.27835
}

Semantic roles & 50–950 ramp

primary
#DF56E2
secondary
#B1E4B0
accent
#D31317
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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