#DE42CD#DE42CD

#DE42CD is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.2% C 0.240 H 332.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#DE42CD
RGBrgb(222, 66, 205)
HSLhsl(307, 70%, 56%)
HSVhsv(307, 70%, 87%)
CMYKcmyk(0%, 70.3%, 7.7%, 12.9%)
CIE-LABlab(55.92, 74.09, -40.03)
CIE-LCHlch(55.92, 84.21, 331.62°)
OKLaboklab(65.17% 0.2134 -0.1098)
OKLCHoklch(65.17% 0.24 332.8)
XYZxyz(43.0920, 23.8373, 60.0773)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE42CD #42DE53
analogous
#A142DE #DE42CD #DE427F
triadic
#DE42CD #CDDE42 #42CDDE
tetradic
#DE42CD #DEA142 #42DE53 #427FDE
square
#DE42CD #DEA142 #42DE53 #427FDE
split-complementary
#DE42CD #7FDE42 #42DEA1
monochromatic
#8D1980 #C122B0 #DE42CD #E776DB #F0AAE9

Accessibility & contrast

On white

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

On black

5.77
#DE42CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE42CD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE42CD#FFFFFF#000000##000000
##DE42CD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#E85283
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #de42cd;
/* rgb */ color: rgb(222, 66, 205);
/* oklch */ color: oklch(65.2% 0.240 332.8);
Tailwind
colors: {
  custom: {
    50: '#ec84dc',
    500: '#de42cd',
    950: '#000000',
  },
}
SCSS
$custom: #de42cd;
$custom-light: #ec84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#de42cd",
  "rgb": {
    "r": 222,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 306.538,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65166,
    "c": 0.23999,
    "h": 332.8
  },
  "luminance": 0.23834
}

Semantic roles & 50–950 ramp

primary
#DE42CD
secondary
#9EDEA5
accent
#ED4E3B
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DE42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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