#DE42D6#DE42D6

#DE42D6 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.6% C 0.246 H 330.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#DE42D6
RGBrgb(222, 66, 214)
HSLhsl(303, 70%, 56%)
HSVhsv(303, 70%, 87%)
CMYKcmyk(0%, 70.3%, 3.6%, 12.9%)
CIE-LABlab(56.37, 75.46, -44.45)
CIE-LCHlch(56.37, 87.58, 329.50°)
OKLaboklab(65.63% 0.2138 -0.1226)
OKLCHoklch(65.63% 0.246 330.2)
XYZxyz(44.2098, 24.2844, 65.9642)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE42D6 #42DE4A
analogous
#9842DE #DE42D6 #DE4288
triadic
#DE42D6 #D6DE42 #42D6DE
tetradic
#DE42D6 #DE9842 #42DE4A #4288DE
square
#DE42D6 #DE9842 #42DE4A #4288DE
split-complementary
#DE42D6 #88DE42 #42DE98
monochromatic
#8D1987 #C122B9 #DE42D6 #E776E1 #F0AAED

Accessibility & contrast

On white

3.59
#DE42D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#DE42D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE42D6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE42D6#FFFFFF#000000##000000
##DE42D61.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADA
Deuteranopia (green-blind)
#708FD2
Tritanopia (blue-blind)
#E65688
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #de42d6;
/* rgb */ color: rgb(222, 66, 214);
/* oklch */ color: oklch(65.6% 0.246 330.2);
Tailwind
colors: {
  custom: {
    50: '#ec84e3',
    500: '#de42d6',
    950: '#000000',
  },
}
SCSS
$custom: #de42d6;
$custom-light: #ec84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#de42d6",
  "rgb": {
    "r": 222,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 303.077,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65632,
    "c": 0.24648,
    "h": 330.2
  },
  "luminance": 0.24281
}

Semantic roles & 50–950 ramp

primary
#DE42D6
secondary
#9EDEA1
accent
#ED443B
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DE42D6

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

Preview Lab → · Contrast checker → · Palette generator →

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