#DC42D5#DC42D5

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

Color values

HEX#DC42D5
RGBrgb(220, 66, 213)
HSLhsl(303, 69%, 56%)
HSVhsv(303, 70%, 86%)
CMYKcmyk(0%, 70%, 3.2%, 13.7%)
CIE-LABlab(56.01, 74.86, -44.48)
CIE-LCHlch(56.01, 87.08, 329.28°)
OKLaboklab(65.29% 0.2118 -0.1227)
OKLCHoklch(65.29% 0.245 329.9)
XYZxyz(43.4734, 23.9195, 65.2651)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42D5 #42DC49
analogous
#9642DC #DC42D5 #DC4288
triadic
#DC42D5 #D5DC42 #42D5DC
tetradic
#DC42D5 #DC9642 #42DC49 #4288DC
square
#DC42D5 #DC9642 #42DC49 #4288DC
split-complementary
#DC42D5 #88DC42 #42DC96
monochromatic
#8A1A85 #BE23B7 #DC42D5 #E676E0 #EFA9EC

Accessibility & contrast

On white

3.63
#DC42D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#DC42D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42D5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42D5#FFFFFF#000000##000000
##DC42D51.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079D9
Deuteranopia (green-blind)
#6F8ED1
Tritanopia (blue-blind)
#E45687
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc42d5;
/* rgb */ color: rgb(220, 66, 213);
/* oklch */ color: oklch(65.3% 0.245 329.9);
Tailwind
colors: {
  custom: {
    50: '#eb84e2',
    500: '#dc42d5',
    950: '#000000',
  },
}
SCSS
$custom: #dc42d5;
$custom-light: #eb84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42d5",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 302.727,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.65293,
    "c": 0.24476,
    "h": 329.9
  },
  "luminance": 0.23916
}

Semantic roles & 50–950 ramp

primary
#DC42D5
secondary
#9DDDA0
accent
#EC443C
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DC42D5

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

Preview Lab → · Contrast checker → · Palette generator →

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