#DD42D8#DD42D8

#DD42D8 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.6% C 0.247 H 329.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#DD42D8
RGBrgb(221, 66, 216)
HSLhsl(302, 70%, 56%)
HSVhsv(302, 70%, 87%)
CMYKcmyk(0%, 70.1%, 2.3%, 13.3%)
CIE-LABlab(56.32, 75.55, -45.68)
CIE-LCHlch(56.32, 88.29, 328.84°)
OKLaboklab(65.6% 0.2129 -0.1262)
OKLCHoklch(65.6% 0.247 329.3)
XYZxyz(44.1613, 24.2297, 67.3033)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42D8 #42DD47
analogous
#9442DD #DD42D8 #DD428B
triadic
#DD42D8 #D8DD42 #42D8DD
tetradic
#DD42D8 #DD9442 #42DD47 #428BDD
square
#DD42D8 #DD9442 #42DD47 #428BDD
split-complementary
#DD42D8 #8BDD42 #42DD94
monochromatic
#8C1988 #BF22BA #DD42D8 #E676E3 #F0AAED

Accessibility & contrast

On white

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

On black

5.85
#DD42D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42D8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42D8#FFFFFF#000000##000000
##DD42D81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADC
Deuteranopia (green-blind)
#6E8ED4
Tritanopia (blue-blind)
#E55789
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dd42d8;
/* rgb */ color: rgb(221, 66, 216);
/* oklch */ color: oklch(65.6% 0.247 329.3);
Tailwind
colors: {
  custom: {
    50: '#ec84e4',
    500: '#dd42d8',
    950: '#000000',
  },
}
SCSS
$custom: #dd42d8;
$custom-light: #ec84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42d8",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 301.935,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65596,
    "c": 0.24746,
    "h": 329.3
  },
  "luminance": 0.24226
}

Semantic roles & 50–950 ramp

primary
#DD42D8
secondary
#9DDDA0
accent
#EC413B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DD42D8

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

Preview Lab → · Contrast checker → · Palette generator →

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