#DF42D8#DF42D8

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

Color values

HEX#DF42D8
RGBrgb(223, 66, 216)
HSLhsl(303, 71%, 57%)
HSVhsv(303, 70%, 87%)
CMYKcmyk(0%, 70.4%, 3.1%, 12.5%)
CIE-LABlab(56.63, 75.98, -45.17)
CIE-LCHlch(56.63, 88.40, 329.27°)
OKLaboklab(65.88% 0.2149 -0.1247)
OKLCHoklch(65.88% 0.248 329.9)
XYZxyz(44.7740, 24.5457, 67.3320)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42D8 #42DF49
analogous
#9842DF #DF42D8 #DF428A
triadic
#DF42D8 #D8DF42 #42D8DF
tetradic
#DF42D8 #DF9842 #42DF49 #428ADF
square
#DF42D8 #DF9842 #42DF49 #428ADF
split-complementary
#DF42D8 #8ADF42 #42DF98
monochromatic
#8E1889 #C321BC #DF42D8 #E876E3 #F1ABEE

Accessibility & contrast

On white

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

On black

5.91
#DF42D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42D8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42D8#FFFFFF#000000##000000
##DF42D81.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#307ADC
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#E75789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df42d8;
/* rgb */ color: rgb(223, 66, 216);
/* oklch */ color: oklch(65.9% 0.248 329.9);
Tailwind
colors: {
  custom: {
    50: '#ed84e4',
    500: '#df42d8',
    950: '#000000',
  },
}
SCSS
$custom: #df42d8;
$custom-light: #ed84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#df42d8",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 302.675,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.24844,
    "h": 329.9
  },
  "luminance": 0.24542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF42D8

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

Preview Lab → · Contrast checker → · Palette generator →

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