#DC42C6#DC42C6

#DC42C6 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.5% C 0.234 H 334.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#DC42C6
RGBrgb(220, 66, 198)
HSLhsl(309, 69%, 56%)
HSVhsv(309, 70%, 86%)
CMYKcmyk(0%, 70%, 10%, 13.7%)
CIE-LABlab(55.27, 72.60, -37.07)
CIE-LCHlch(55.27, 81.52, 332.95°)
OKLaboklab(64.52% 0.2109 -0.1014)
OKLCHoklch(64.52% 0.234 334.3)
XYZxyz(41.6568, 23.1928, 55.6978)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42C6 #42DC58
analogous
#A542DC #DC42C6 #DC4279
triadic
#DC42C6 #C6DC42 #42C6DC
tetradic
#DC42C6 #DCA542 #42DC58 #4279DC
square
#DC42C6 #DCA542 #42DC58 #4279DC
split-complementary
#DC42C6 #79DC42 #42DCA5
monochromatic
#8A1A7A #BE23A8 #DC42C6 #E676D6 #EFA9E5

Accessibility & contrast

On white

3.72
#DC42C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#DC42C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42C6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42C6#FFFFFF#000000##000000
##DC42C61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4076CA
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#E64F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc42c6;
/* rgb */ color: rgb(220, 66, 198);
/* oklch */ color: oklch(64.5% 0.234 334.3);
Tailwind
colors: {
  custom: {
    50: '#eb83d7',
    500: '#dc42c6',
    950: '#000000',
  },
}
SCSS
$custom: #dc42c6;
$custom-light: #eb83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42c6",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 308.571,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64524,
    "c": 0.23397,
    "h": 334.3
  },
  "luminance": 0.23189
}

Semantic roles & 50–950 ramp

primary
#DC42C6
secondary
#9DDDA6
accent
#EC553C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DC42C6

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

Preview Lab → · Contrast checker → · Palette generator →

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