#DF56EB#DF56EB

#DF56EB is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.8% C 0.240 H 324.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#DF56EB
RGBrgb(223, 86, 235)
HSLhsl(295, 79%, 63%)
HSVhsv(295, 63%, 92%)
CMYKcmyk(5.1%, 63.4%, 0%, 7.8%)
CIE-LABlab(60.20, 71.80, -50.20)
CIE-LCHlch(60.20, 87.61, 325.04°)
OKLaboklab(68.77% 0.1949 -0.1394)
OKLCHoklch(68.77% 0.24 324.4)
XYZxyz(48.7534, 28.3446, 81.4843)
Luminance0.2834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF56EB #62EB56
analogous
#9556EB #DF56EB #EB56AC
triadic
#DF56EB #EBDF56 #56EBDF
tetradic
#DF56EB #EB9556 #62EB56 #56ACEB
square
#DF56EB #EB9556 #62EB56 #56ACEB
split-complementary
#DF56EB #ACEB56 #56EB95
monochromatic
#A515B2 #D51FE5 #DF56EB #E98DF1 #F4C3F8

Accessibility & contrast

On white

3.15
#DF56EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#DF56EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF56EB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF56EB#FFFFFF#000000##000000
##DF56EB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#E36C99
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #df56eb;
/* rgb */ color: rgb(223, 86, 235);
/* oklch */ color: oklch(68.8% 0.240 324.4);
Tailwind
colors: {
  custom: {
    50: '#ec8ff2',
    500: '#df56eb',
    950: '#000000',
  },
}
SCSS
$custom: #df56eb;
$custom-light: #ec8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#df56eb",
  "rgb": {
    "r": 223,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 295.168,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68769,
    "c": 0.23964,
    "h": 324.4
  },
  "luminance": 0.28342
}

Semantic roles & 50–950 ramp

primary
#DF56EB
secondary
#B8E9B4
accent
#DB0A1B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DF56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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