#DC42C3#DC42C3

#DC42C3 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.4% C 0.232 H 335.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#DC42C3
RGBrgb(220, 66, 195)
HSLhsl(310, 69%, 56%)
HSVhsv(310, 70%, 86%)
CMYKcmyk(0%, 70%, 11.4%, 13.7%)
CIE-LABlab(55.13, 72.16, -35.57)
CIE-LCHlch(55.13, 80.45, 333.76°)
OKLaboklab(64.38% 0.2106 -0.0971)
OKLCHoklch(64.38% 0.232 335.3)
XYZxyz(41.3142, 23.0558, 53.8935)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42C3 #42DC5B
analogous
#A842DC #DC42C3 #DC4276
triadic
#DC42C3 #C3DC42 #42C3DC
tetradic
#DC42C3 #DCA842 #42DC5B #4276DC
square
#DC42C3 #DCA842 #42DC5B #4276DC
split-complementary
#DC42C3 #76DC42 #42DCA8
monochromatic
#8A1A78 #BE23A5 #DC42C3 #E676D3 #EFA9E4

Accessibility & contrast

On white

3.74
#DC42C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#DC42C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42C3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42C3#FFFFFF#000000##000000
##DC42C31.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C7
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#E74D7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc42c3;
/* rgb */ color: rgb(220, 66, 195);
/* oklch */ color: oklch(64.4% 0.232 335.3);
Tailwind
colors: {
  custom: {
    50: '#eb83d5',
    500: '#dc42c3',
    950: '#000000',
  },
}
SCSS
$custom: #dc42c3;
$custom-light: #eb83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42c3",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 309.74,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64376,
    "c": 0.23189,
    "h": 335.3
  },
  "luminance": 0.23052
}

Semantic roles & 50–950 ramp

primary
#DC42C3
secondary
#9DDDA7
accent
#EC593C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DC42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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