#DE40D4#DE40D4

#DE40D4 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.4% C 0.247 H 330.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#DE40D4
RGBrgb(222, 64, 212)
HSLhsl(304, 71%, 56%)
HSVhsv(304, 71%, 87%)
CMYKcmyk(0%, 71.2%, 4.5%, 12.9%)
CIE-LABlab(56.04, 75.80, -43.84)
CIE-LCHlch(56.04, 87.57, 329.96°)
OKLaboklab(65.36% 0.2156 -0.1208)
OKLCHoklch(65.36% 0.247 330.7)
XYZxyz(43.8411, 23.9533, 64.5890)
Luminance0.2395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE40D4 #40DE4A
analogous
#9940DE #DE40D4 #DE4085
triadic
#DE40D4 #D4DE40 #40D4DE
tetradic
#DE40D4 #DE9940 #40DE4A #4085DE
square
#DE40D4 #DE9940 #40DE4A #4085DE
split-complementary
#DE40D4 #85DE40 #40DE99
monochromatic
#8B1884 #C021B6 #DE40D4 #E774E0 #F0A8EB

Accessibility & contrast

On white

3.63
#DE40D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#DE40D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE40D4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE40D4#FFFFFF#000000##000000
##DE40D41.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3178D8
Deuteranopia (green-blind)
#708ED0
Tritanopia (blue-blind)
#E75486
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #de40d4;
/* rgb */ color: rgb(222, 64, 212);
/* oklch */ color: oklch(65.4% 0.247 330.7);
Tailwind
colors: {
  custom: {
    50: '#ec83e2',
    500: '#de40d4',
    950: '#000000',
  },
}
SCSS
$custom: #de40d4;
$custom-light: #ec83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#de40d4",
  "rgb": {
    "r": 222,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 303.797,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.24717,
    "h": 330.7
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#DE40D4
secondary
#9CDEA0
accent
#ED463A
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DE40D4

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

Preview Lab → · Contrast checker → · Palette generator →

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