#DF42DA#DF42DA

#DF42DA is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 66.0% C 0.250 H 329.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#DF42DA
RGBrgb(223, 66, 218)
HSLhsl(302, 71%, 57%)
HSVhsv(302, 70%, 87%)
CMYKcmyk(0%, 70.4%, 2.2%, 12.5%)
CIE-LABlab(56.73, 76.29, -46.14)
CIE-LCHlch(56.73, 89.16, 328.84°)
OKLaboklab(65.99% 0.215 -0.1275)
OKLCHoklch(65.99% 0.25 329.3)
XYZxyz(45.0342, 24.6497, 68.7020)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42DA #42DF47
analogous
#9642DF #DF42DA #DF428C
triadic
#DF42DA #DADF42 #42DADF
tetradic
#DF42DA #DF9642 #42DF47 #428CDF
square
#DF42DA #DF9642 #42DF47 #428CDF
split-complementary
#DF42DA #8CDF42 #42DF96
monochromatic
#8E188B #C321BE #DF42DA #E876E4 #F1ABEE

Accessibility & contrast

On white

3.54
#DF42DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#DF42DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42DA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42DA#FFFFFF#000000##000000
##DF42DA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDE
Deuteranopia (green-blind)
#6F8FD6
Tritanopia (blue-blind)
#E7578A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df42da;
/* rgb */ color: rgb(223, 66, 218);
/* oklch */ color: oklch(66.0% 0.250 329.3);
Tailwind
colors: {
  custom: {
    50: '#ed84e6',
    500: '#df42da',
    950: '#000000',
  },
}
SCSS
$custom: #df42da;
$custom-light: #ed84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#df42da",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 301.911,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65988,
    "c": 0.2499,
    "h": 329.3
  },
  "luminance": 0.24646
}

Semantic roles & 50–950 ramp

primary
#DF42DA
secondary
#9EDFA0
accent
#EE403A
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DF42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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