#DD42D5#DD42D5

#DD42D5 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.4% C 0.245 H 330.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#DD42D5
RGBrgb(221, 66, 213)
HSLhsl(303, 70%, 56%)
HSVhsv(303, 70%, 87%)
CMYKcmyk(0%, 70.1%, 3.6%, 13.3%)
CIE-LABlab(56.16, 75.08, -44.22)
CIE-LCHlch(56.16, 87.14, 329.50°)
OKLaboklab(65.44% 0.2128 -0.122)
OKLCHoklch(65.44% 0.245 330.2)
XYZxyz(43.7770, 24.0760, 65.2793)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42D5 #42DD4A
analogous
#9842DD #DD42D5 #DD4288
triadic
#DD42D5 #D5DD42 #42D5DD
tetradic
#DD42D5 #DD9842 #42DD4A #4288DD
square
#DD42D5 #DD9842 #42DD4A #4288DD
split-complementary
#DD42D5 #88DD42 #42DD98
monochromatic
#8C1986 #BF22B7 #DD42D5 #E676E1 #F0AAEC

Accessibility & contrast

On white

3.61
#DD42D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#DD42D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42D5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42D5#FFFFFF#000000##000000
##DD42D51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3179D9
Deuteranopia (green-blind)
#708ED1
Tritanopia (blue-blind)
#E55687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dd42d5;
/* rgb */ color: rgb(221, 66, 213);
/* oklch */ color: oklch(65.4% 0.245 330.2);
Tailwind
colors: {
  custom: {
    50: '#ec84e2',
    500: '#dd42d5',
    950: '#000000',
  },
}
SCSS
$custom: #dd42d5;
$custom-light: #ec84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42d5",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 303.097,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65436,
    "c": 0.24525,
    "h": 330.2
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

primary
#DD42D5
secondary
#9DDDA1
accent
#EC453B
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DD42D5

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

Preview Lab → · Contrast checker → · Palette generator →

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