#DE42CE#DE42CE

#DE42CE is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.2% C 0.241 H 332.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#DE42CE
RGBrgb(222, 66, 206)
HSLhsl(306, 70%, 56%)
HSVhsv(306, 70%, 87%)
CMYKcmyk(0%, 70.3%, 7.2%, 12.9%)
CIE-LABlab(55.97, 74.24, -40.53)
CIE-LCHlch(55.97, 84.58, 331.37°)
OKLaboklab(65.22% 0.2134 -0.1113)
OKLCHoklch(65.22% 0.241 332.5)
XYZxyz(43.2131, 23.8858, 60.7150)
Luminance0.2388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE42CE #42DE52
analogous
#A042DE #DE42CE #DE4280
triadic
#DE42CE #CEDE42 #42CEDE
tetradic
#DE42CE #DEA042 #42DE52 #4280DE
square
#DE42CE #DEA042 #42DE52 #4280DE
split-complementary
#DE42CE #80DE42 #42DEA0
monochromatic
#8D1981 #C122B1 #DE42CE #E776DC #F0AAE9

Accessibility & contrast

On white

3.64
#DE42CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#DE42CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE42CE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE42CE#FFFFFF#000000##000000
##DE42CE1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#E75283
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #de42ce;
/* rgb */ color: rgb(222, 66, 206);
/* oklch */ color: oklch(65.2% 0.241 332.5);
Tailwind
colors: {
  custom: {
    50: '#ec84dd',
    500: '#de42ce',
    950: '#000000',
  },
}
SCSS
$custom: #de42ce;
$custom-light: #ec84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#de42ce",
  "rgb": {
    "r": 222,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 306.154,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65217,
    "c": 0.2407,
    "h": 332.5
  },
  "luminance": 0.23882
}

Semantic roles & 50–950 ramp

primary
#DE42CE
secondary
#9EDEA4
accent
#ED4D3B
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DE42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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