#DF56E7#DF56E7

#DF56E7 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.6% C 0.236 H 325.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#DF56E7
RGBrgb(223, 86, 231)
HSLhsl(297, 75%, 62%)
HSVhsv(297, 63%, 91%)
CMYKcmyk(3.5%, 62.8%, 0%, 9.4%)
CIE-LABlab(59.99, 71.12, -48.29)
CIE-LCHlch(59.99, 85.96, 325.82°)
OKLaboklab(68.55% 0.1948 -0.1339)
OKLCHoklch(68.55% 0.236 325.5)
XYZxyz(48.1820, 28.1160, 78.4749)
Luminance0.2811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56E7 #5EE756
analogous
#9756E7 #DF56E7 #E756A6
triadic
#DF56E7 #E7DF56 #56E7DF
tetradic
#DF56E7 #E79756 #5EE756 #56A6E7
square
#DF56E7 #E79756 #5EE756 #56A6E7
split-complementary
#DF56E7 #A6E756 #56E797
monochromatic
#A218AA #D520DF #DF56E7 #E98CEF #F3C1F6

Accessibility & contrast

On white

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

On black

6.62
#DF56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56E7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56E7#FFFFFF#000000##000000
##DF56E71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EB
Deuteranopia (green-blind)
#7296E3
Tritanopia (blue-blind)
#E46B97
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #df56e7;
/* rgb */ color: rgb(223, 86, 231);
/* oklch */ color: oklch(68.6% 0.236 325.5);
Tailwind
colors: {
  custom: {
    50: '#ec8fef',
    500: '#df56e7',
    950: '#000000',
  },
}
SCSS
$custom: #df56e7;
$custom-light: #ec8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#df56e7",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 296.69,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68554,
    "c": 0.23634,
    "h": 325.5
  },
  "luminance": 0.28113
}

Semantic roles & 50–950 ramp

primary
#DF56E7
secondary
#B5E7B2
accent
#D70E19
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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