#DE42C6#DE42C6

#DE42C6 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.8% C 0.235 H 334.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#DE42C6
RGBrgb(222, 66, 198)
HSLhsl(309, 70%, 56%)
HSVhsv(309, 70%, 87%)
CMYKcmyk(0%, 70.3%, 10.8%, 12.9%)
CIE-LABlab(55.59, 73.06, -36.55)
CIE-LCHlch(55.59, 81.69, 333.42°)
OKLaboklab(64.82% 0.2128 -0.0998)
OKLCHoklch(64.82% 0.235 334.9)
XYZxyz(42.2659, 23.5069, 55.7264)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE42C6 #42DE5A
analogous
#A842DE #DE42C6 #DE4278
triadic
#DE42C6 #C6DE42 #42C6DE
tetradic
#DE42C6 #DEA842 #42DE5A #4278DE
square
#DE42C6 #DEA842 #42DE5A #4278DE
split-complementary
#DE42C6 #78DE42 #42DEA8
monochromatic
#8D197B #C122A9 #DE42C6 #E776D6 #F0AAE5

Accessibility & contrast

On white

3.68
#DE42C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#DE42C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE42C6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE42C6#FFFFFF#000000##000000
##DE42C61.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4176CA
Deuteranopia (green-blind)
#788DC2
Tritanopia (blue-blind)
#E94E7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #de42c6;
/* rgb */ color: rgb(222, 66, 198);
/* oklch */ color: oklch(64.8% 0.235 334.9);
Tailwind
colors: {
  custom: {
    50: '#ec84d7',
    500: '#de42c6',
    950: '#000000',
  },
}
SCSS
$custom: #de42c6;
$custom-light: #ec84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#de42c6",
  "rgb": {
    "r": 222,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 309.231,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64816,
    "c": 0.23508,
    "h": 334.9
  },
  "luminance": 0.23503
}

Semantic roles & 50–950 ramp

primary
#DE42C6
secondary
#9EDEA8
accent
#ED563B
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DE42C6

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

Preview Lab → · Contrast checker → · Palette generator →

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