#DE56E7#DE56E7

#DE56E7 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.4% C 0.236 H 325.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#DE56E7
RGBrgb(222, 86, 231)
HSLhsl(296, 75%, 62%)
HSVhsv(296, 63%, 91%)
CMYKcmyk(3.9%, 62.8%, 0%, 9.4%)
CIE-LABlab(59.85, 70.88, -48.53)
CIE-LCHlch(59.85, 85.90, 325.60°)
OKLaboklab(68.42% 0.1937 -0.1346)
OKLCHoklch(68.42% 0.236 325.2)
XYZxyz(47.8747, 27.9576, 78.4605)
Luminance0.2796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE56E7 #5FE756
analogous
#9656E7 #DE56E7 #E756A8
triadic
#DE56E7 #E7DE56 #56E7DE
tetradic
#DE56E7 #E79656 #5FE756 #56A8E7
square
#DE56E7 #E79656 #5FE756 #56A8E7
split-complementary
#DE56E7 #A8E756 #56E796
monochromatic
#A118AA #D420DF #DE56E7 #E88CEF #F3C1F6

Accessibility & contrast

On white

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

On black

6.59
#DE56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE56E7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE56E7#FFFFFF#000000##000000
##DE56E71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EB
Deuteranopia (green-blind)
#7196E3
Tritanopia (blue-blind)
#E36B97
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #de56e7;
/* rgb */ color: rgb(222, 86, 231);
/* oklch */ color: oklch(68.4% 0.236 325.2);
Tailwind
colors: {
  custom: {
    50: '#ec8eef',
    500: '#de56e7',
    950: '#000000',
  },
}
SCSS
$custom: #de56e7;
$custom-light: #ec8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#de56e7",
  "rgb": {
    "r": 222,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 296.276,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68421,
    "c": 0.23586,
    "h": 325.2
  },
  "luminance": 0.27955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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