#DC42C5#DC42C5

#DC42C5 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.5% C 0.233 H 334.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DC42C5
RGBrgb(220, 66, 197)
HSLhsl(309, 69%, 56%)
HSVhsv(309, 70%, 86%)
CMYKcmyk(0%, 70%, 10.5%, 13.7%)
CIE-LABlab(55.22, 72.45, -36.57)
CIE-LCHlch(55.22, 81.16, 333.22°)
OKLaboklab(64.47% 0.2108 -0.0999)
OKLCHoklch(64.47% 0.233 334.6)
XYZxyz(41.5419, 23.1469, 55.0924)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42C5 #42DC59
analogous
#A642DC #DC42C5 #DC4278
triadic
#DC42C5 #C5DC42 #42C5DC
tetradic
#DC42C5 #DCA642 #42DC59 #4278DC
square
#DC42C5 #DCA642 #42DC59 #4278DC
split-complementary
#DC42C5 #78DC42 #42DCA6
monochromatic
#8A1A79 #BE23A7 #DC42C5 #E676D5 #EFA9E5

Accessibility & contrast

On white

3.73
#DC42C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DC42C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42C5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42C5#FFFFFF#000000##000000
##DC42C51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4076C9
Deuteranopia (green-blind)
#768CC1
Tritanopia (blue-blind)
#E64E7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc42c5;
/* rgb */ color: rgb(220, 66, 197);
/* oklch */ color: oklch(64.5% 0.233 334.6);
Tailwind
colors: {
  custom: {
    50: '#eb83d7',
    500: '#dc42c5',
    950: '#000000',
  },
}
SCSS
$custom: #dc42c5;
$custom-light: #eb83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42c5",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 308.961,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64474,
    "c": 0.23328,
    "h": 334.6
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC42C5

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

Preview Lab → · Contrast checker → · Palette generator →

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