#DD42C4#DD42C4

#DD42C4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.6% C 0.233 H 335.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#DD42C4
RGBrgb(221, 66, 196)
HSLhsl(310, 70%, 56%)
HSVhsv(310, 70%, 87%)
CMYKcmyk(0%, 70.1%, 11.3%, 13.3%)
CIE-LABlab(55.34, 72.54, -35.81)
CIE-LCHlch(55.34, 80.89, 333.73°)
OKLaboklab(64.57% 0.2117 -0.0977)
OKLCHoklch(64.57% 0.233 335.2)
XYZxyz(41.7313, 23.2577, 54.5052)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42C4 #42DD5B
analogous
#A842DD #DD42C4 #DD4277
triadic
#DD42C4 #C4DD42 #42C4DD
tetradic
#DD42C4 #DDA842 #42DD5B #4277DD
square
#DD42C4 #DDA842 #42DD5B #4277DD
split-complementary
#DD42C4 #77DD42 #42DDA8
monochromatic
#8C1979 #BF22A6 #DD42C4 #E676D4 #F0AAE4

Accessibility & contrast

On white

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

On black

5.65
#DD42C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42C4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42C4#FFFFFF#000000##000000
##DD42C41.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4276C8
Deuteranopia (green-blind)
#788DC0
Tritanopia (blue-blind)
#E84E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd42c4;
/* rgb */ color: rgb(221, 66, 196);
/* oklch */ color: oklch(64.6% 0.233 335.2);
Tailwind
colors: {
  custom: {
    50: '#eb84d6',
    500: '#dd42c4',
    950: '#000000',
  },
}
SCSS
$custom: #dd42c4;
$custom-light: #eb84d6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42c4",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 309.677,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64572,
    "c": 0.23314,
    "h": 335.2
  },
  "luminance": 0.23254
}

Semantic roles & 50–950 ramp

primary
#DD42C4
secondary
#9DDDA8
accent
#EC583B
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD42C4

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

Preview Lab → · Contrast checker → · Palette generator →

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