#DE42E2#DE42E2

#DE42E2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.3% C 0.255 H 326.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#DE42E2
RGBrgb(222, 66, 226)
HSLhsl(299, 73%, 57%)
HSVhsv(299, 71%, 89%)
CMYKcmyk(1.8%, 70.8%, 0%, 11.4%)
CIE-LABlab(57.00, 77.35, -50.25)
CIE-LCHlch(57.00, 92.23, 326.99°)
OKLaboklab(66.28% 0.214 -0.1394)
OKLCHoklch(66.28% 0.255 326.9)
XYZxyz(45.7991, 24.9202, 74.3346)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE42E2 #46E242
analogous
#8E42E2 #DE42E2 #E24296
triadic
#DE42E2 #E2DE42 #42E2DE
tetradic
#DE42E2 #E28E42 #46E242 #4296E2
square
#DE42E2 #E28E42 #46E242 #4296E2
split-complementary
#DE42E2 #96E242 #42E28E
monochromatic
#901793 #C41FC8 #DE42E2 #E777EA #F1ACF2

Accessibility & contrast

On white

3.51
#DE42E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#DE42E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE42E2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE42E2#FFFFFF#000000##000000
##DE42E21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE6
Deuteranopia (green-blind)
#6990DE
Tritanopia (blue-blind)
#E45B8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #de42e2;
/* rgb */ color: rgb(222, 66, 226);
/* oklch */ color: oklch(66.3% 0.255 326.9);
Tailwind
colors: {
  custom: {
    50: '#ec85ec',
    500: '#de42e2',
    950: '#000000',
  },
}
SCSS
$custom: #de42e2;
$custom-light: #ec85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#de42e2",
  "rgb": {
    "r": 222,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 298.5,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.66284,
    "c": 0.25538,
    "h": 326.9
  },
  "luminance": 0.24917
}

Semantic roles & 50–950 ramp

primary
#DE42E2
secondary
#A1E09F
accent
#F0383C
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DE42E2

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

Preview Lab → · Contrast checker → · Palette generator →

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