#DF56E3#DF56E3

#DF56E3 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.3% C 0.233 H 326.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#DF56E3
RGBrgb(223, 86, 227)
HSLhsl(298, 72%, 61%)
HSVhsv(298, 62%, 89%)
CMYKcmyk(1.8%, 62.1%, 0%, 11%)
CIE-LABlab(59.79, 70.44, -46.37)
CIE-LCHlch(59.79, 84.33, 326.64°)
OKLaboklab(68.34% 0.1946 -0.1283)
OKLCHoklch(68.34% 0.233 326.6)
XYZxyz(47.6235, 27.8926, 75.5336)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56E3 #5AE356
analogous
#9956E3 #DF56E3 #E356A1
triadic
#DF56E3 #E3DF56 #56E3DF
tetradic
#DF56E3 #E39956 #5AE356 #56A1E3
square
#DF56E3 #E39956 #5AE356 #56A1E3
split-complementary
#DF56E3 #A1E356 #56E399
monochromatic
#A01BA4 #D324D8 #DF56E3 #E98BEC #F3BFF4

Accessibility & contrast

On white

3.19
#DF56E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#DF56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56E3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56E3#FFFFFF#000000##000000
##DF56E31.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E7
Deuteranopia (green-blind)
#7496DF
Tritanopia (blue-blind)
#E56995
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df56e3;
/* rgb */ color: rgb(223, 86, 227);
/* oklch */ color: oklch(68.3% 0.233 326.6);
Tailwind
colors: {
  custom: {
    50: '#ec8eec',
    500: '#df56e3',
    950: '#000000',
  },
}
SCSS
$custom: #df56e3;
$custom-light: #ec8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#df56e3",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 298.298,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68342,
    "c": 0.23308,
    "h": 326.6
  },
  "luminance": 0.2789
}

Semantic roles & 50–950 ramp

primary
#DF56E3
secondary
#B2E5B0
accent
#D41217
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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