#DF42E0#DF42E0

#DF42E0 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.3% C 0.254 H 327.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#DF42E0
RGBrgb(223, 66, 224)
HSLhsl(300, 72%, 57%)
HSVhsv(300, 71%, 88%)
CMYKcmyk(0.4%, 70.5%, 0%, 12.2%)
CIE-LABlab(57.05, 77.24, -49.03)
CIE-LCHlch(57.05, 91.49, 327.59°)
OKLaboklab(66.31% 0.215 -0.1359)
OKLCHoklch(66.31% 0.254 327.7)
XYZxyz(45.8336, 24.9695, 72.9121)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42E0 #43E042
analogous
#9042E0 #DF42E0 #E04292
triadic
#DF42E0 #E0DF42 #42E0DF
tetradic
#DF42E0 #E09042 #43E042 #4292E0
square
#DF42E0 #E09042 #43E042 #4292E0
split-complementary
#DF42E0 #92E042 #42E090
monochromatic
#8F1890 #C420C5 #DF42E0 #E877E9 #F1ABF1

Accessibility & contrast

On white

3.50
#DF42E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#DF42E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42E0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42E0#FFFFFF#000000##000000
##DF42E01.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#237CE4
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#E65A8D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df42e0;
/* rgb */ color: rgb(223, 66, 224);
/* oklch */ color: oklch(66.3% 0.254 327.7);
Tailwind
colors: {
  custom: {
    50: '#ed85ea',
    500: '#df42e0',
    950: '#000000',
  },
}
SCSS
$custom: #df42e0;
$custom-light: #ed85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#df42e0",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 299.62,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.66314,
    "c": 0.25435,
    "h": 327.7
  },
  "luminance": 0.24966
}

Semantic roles & 50–950 ramp

primary
#DF42E0
secondary
#9FDF9F
accent
#EF393A
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DF42E0

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

Preview Lab → · Contrast checker → · Palette generator →

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