#DF42D9#DF42D9

#DF42D9 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.9% C 0.249 H 329.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#DF42D9
RGBrgb(223, 66, 217)
HSLhsl(302, 71%, 57%)
HSVhsv(302, 70%, 87%)
CMYKcmyk(0%, 70.4%, 2.7%, 12.5%)
CIE-LABlab(56.68, 76.14, -45.65)
CIE-LCHlch(56.68, 88.78, 329.05°)
OKLaboklab(65.93% 0.2149 -0.1261)
OKLCHoklch(65.93% 0.249 329.6)
XYZxyz(44.9037, 24.5975, 68.0149)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42D9 #42DF48
analogous
#9742DF #DF42D9 #DF428B
triadic
#DF42D9 #D9DF42 #42D9DF
tetradic
#DF42D9 #DF9742 #42DF48 #428BDF
square
#DF42D9 #DF9742 #42DF48 #428BDF
split-complementary
#DF42D9 #8BDF42 #42DF97
monochromatic
#8E188A #C321BD #DF42D9 #E876E4 #F1ABEE

Accessibility & contrast

On white

3.55
#DF42D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#DF42D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42D9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42D9#FFFFFF#000000##000000
##DF42D91.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7ADD
Deuteranopia (green-blind)
#6F8FD5
Tritanopia (blue-blind)
#E75789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df42d9;
/* rgb */ color: rgb(223, 66, 217);
/* oklch */ color: oklch(65.9% 0.249 329.6);
Tailwind
colors: {
  custom: {
    50: '#ed84e5',
    500: '#df42d9',
    950: '#000000',
  },
}
SCSS
$custom: #df42d9;
$custom-light: #ed84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#df42d9",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 302.293,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65934,
    "c": 0.24916,
    "h": 329.6
  },
  "luminance": 0.24594
}

Semantic roles & 50–950 ramp

primary
#DF42D9
secondary
#9EDFA1
accent
#EE413A
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DF42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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