#DF42E1#DF42E1

#DF42E1 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.4% C 0.255 H 327.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#DF42E1
RGBrgb(223, 66, 225)
HSLhsl(299, 73%, 57%)
HSVhsv(299, 71%, 88%)
CMYKcmyk(0.9%, 70.7%, 0%, 11.8%)
CIE-LABlab(57.10, 77.40, -49.51)
CIE-LCHlch(57.10, 91.88, 327.39°)
OKLaboklab(66.37% 0.215 -0.1373)
OKLCHoklch(66.37% 0.255 327.4)
XYZxyz(45.9696, 25.0239, 73.6284)
Luminance0.2502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42E1 #44E142
analogous
#8F42E1 #DF42E1 #E14294
triadic
#DF42E1 #E1DF42 #42E1DF
tetradic
#DF42E1 #E18F42 #44E142 #4294E1
square
#DF42E1 #E18F42 #44E142 #4294E1
split-complementary
#DF42E1 #94E142 #42E18F
monochromatic
#901792 #C41FC6 #DF42E1 #E877E9 #F1ACF2

Accessibility & contrast

On white

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

On black

6.00
#DF42E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42E1
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42E1#FFFFFF#000000##000000
##DF42E11.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#217CE5
Deuteranopia (green-blind)
#6B90DD
Tritanopia (blue-blind)
#E65B8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df42e1;
/* rgb */ color: rgb(223, 66, 225);
/* oklch */ color: oklch(66.4% 0.255 327.4);
Tailwind
colors: {
  custom: {
    50: '#ed85eb',
    500: '#df42e1',
    950: '#000000',
  },
}
SCSS
$custom: #df42e1;
$custom-light: #ed85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df42e1",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 299.245,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.66369,
    "c": 0.2551,
    "h": 327.4
  },
  "luminance": 0.25021
}

Semantic roles & 50–950 ramp

primary
#DF42E1
secondary
#A0E09F
accent
#EF383B
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DF42E1

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

Preview Lab → · Contrast checker → · Palette generator →

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