#DD42C7#DD42C7

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

Color values

HEX#DD42C7
RGBrgb(221, 66, 199)
HSLhsl(309, 70%, 56%)
HSVhsv(309, 70%, 87%)
CMYKcmyk(0%, 70.1%, 10%, 13.3%)
CIE-LABlab(55.48, 72.98, -37.31)
CIE-LCHlch(55.48, 81.96, 332.92°)
OKLaboklab(64.72% 0.2119 -0.102)
OKLCHoklch(64.72% 0.235 334.3)
XYZxyz(42.0762, 23.3957, 56.3215)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42C7 #42DD58
analogous
#A642DD #DD42C7 #DD427A
triadic
#DD42C7 #C7DD42 #42C7DD
tetradic
#DD42C7 #DDA642 #42DD58 #427ADD
square
#DD42C7 #DDA642 #42DD58 #427ADD
split-complementary
#DD42C7 #7ADD42 #42DDA6
monochromatic
#8C197B #BF22A9 #DD42C7 #E676D6 #F0AAE6

Accessibility & contrast

On white

3.70
#DD42C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#DD42C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42C7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42C7#FFFFFF#000000##000000
##DD42C71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CB
Deuteranopia (green-blind)
#768DC3
Tritanopia (blue-blind)
#E74F80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #dd42c7;
/* rgb */ color: rgb(221, 66, 199);
/* oklch */ color: oklch(64.7% 0.235 334.3);
Tailwind
colors: {
  custom: {
    50: '#eb84d8',
    500: '#dd42c7',
    950: '#000000',
  },
}
SCSS
$custom: #dd42c7;
$custom-light: #eb84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42c7",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 308.516,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.23522,
    "h": 334.3
  },
  "luminance": 0.23392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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