#DF42D7#DF42D7

#DF42D7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.8% C 0.248 H 330.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#DF42D7
RGBrgb(223, 66, 215)
HSLhsl(303, 71%, 57%)
HSVhsv(303, 70%, 87%)
CMYKcmyk(0%, 70.4%, 3.6%, 12.5%)
CIE-LABlab(56.58, 75.83, -44.68)
CIE-LCHlch(56.58, 88.01, 329.49°)
OKLaboklab(65.83% 0.2149 -0.1232)
OKLCHoklch(65.83% 0.248 330.2)
XYZxyz(44.6452, 24.4941, 66.6532)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42D7 #42DF4A
analogous
#9842DF #DF42D7 #DF4289
triadic
#DF42D7 #D7DF42 #42D7DF
tetradic
#DF42D7 #DF9842 #42DF4A #4289DF
square
#DF42D7 #DF9842 #42DF4A #4289DF
split-complementary
#DF42D7 #89DF42 #42DF98
monochromatic
#8E1888 #C321BB #DF42D7 #E876E2 #F1ABED

Accessibility & contrast

On white

3.56
#DF42D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#DF42D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42D7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42D7#FFFFFF#000000##000000
##DF42D71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADB
Deuteranopia (green-blind)
#708FD3
Tritanopia (blue-blind)
#E75688
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df42d7;
/* rgb */ color: rgb(223, 66, 215);
/* oklch */ color: oklch(65.8% 0.248 330.2);
Tailwind
colors: {
  custom: {
    50: '#ed84e4',
    500: '#df42d7',
    950: '#000000',
  },
}
SCSS
$custom: #df42d7;
$custom-light: #ed84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#df42d7",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 303.057,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.24771,
    "h": 330.2
  },
  "luminance": 0.24491
}

Semantic roles & 50–950 ramp

primary
#DF42D7
secondary
#9EDFA2
accent
#EE433A
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #DF42D7

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

Preview Lab → · Contrast checker → · Palette generator →

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