#DD42D9#DD42D9

#DD42D9 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.6% C 0.248 H 329.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#DD42D9
RGBrgb(221, 66, 217)
HSLhsl(302, 70%, 56%)
HSVhsv(302, 70%, 87%)
CMYKcmyk(0%, 70.1%, 1.8%, 13.3%)
CIE-LABlab(56.37, 75.71, -46.17)
CIE-LCHlch(56.37, 88.67, 328.62°)
OKLaboklab(65.65% 0.2129 -0.1276)
OKLCHoklch(65.65% 0.248 329.1)
XYZxyz(44.2910, 24.2816, 67.9862)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42D9 #42DD46
analogous
#9442DD #DD42D9 #DD428C
triadic
#DD42D9 #D9DD42 #42D9DD
tetradic
#DD42D9 #DD9442 #42DD46 #428CDD
square
#DD42D9 #DD9442 #42DD46 #428CDD
split-complementary
#DD42D9 #8CDD42 #42DD94
monochromatic
#8C1989 #BF22BB #DD42D9 #E676E3 #F0AAEE

Accessibility & contrast

On white

3.59
#DD42D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#DD42D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42D9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42D9#FFFFFF#000000##000000
##DD42D91.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#6D8ED5
Tritanopia (blue-blind)
#E45789
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dd42d9;
/* rgb */ color: rgb(221, 66, 217);
/* oklch */ color: oklch(65.6% 0.248 329.1);
Tailwind
colors: {
  custom: {
    50: '#ec84e5',
    500: '#dd42d9',
    950: '#000000',
  },
}
SCSS
$custom: #dd42d9;
$custom-light: #ec84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42d9",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 301.548,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.24819,
    "h": 329.1
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#DD42D9
secondary
#9DDD9F
accent
#EC403B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DD42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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