#DD42D7#DD42D7

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

Color values

HEX#DD42D7
RGBrgb(221, 66, 215)
HSLhsl(302, 70%, 56%)
HSVhsv(302, 70%, 87%)
CMYKcmyk(0%, 70.1%, 2.7%, 13.3%)
CIE-LABlab(56.27, 75.39, -45.20)
CIE-LCHlch(56.27, 87.90, 329.06°)
OKLaboklab(65.54% 0.2128 -0.1248)
OKLCHoklch(65.54% 0.247 329.6)
XYZxyz(44.0325, 24.1782, 66.6245)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42D7 #42DD48
analogous
#9642DD #DD42D7 #DD428A
triadic
#DD42D7 #D7DD42 #42D7DD
tetradic
#DD42D7 #DD9642 #42DD48 #428ADD
square
#DD42D7 #DD9642 #42DD48 #428ADD
split-complementary
#DD42D7 #8ADD42 #42DD96
monochromatic
#8C1987 #BF22B9 #DD42D7 #E676E2 #F0AAED

Accessibility & contrast

On white

3.60
#DD42D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#DD42D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42D7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42D7#FFFFFF#000000##000000
##DD42D71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADB
Deuteranopia (green-blind)
#6F8ED3
Tritanopia (blue-blind)
#E55788
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dd42d7;
/* rgb */ color: rgb(221, 66, 215);
/* oklch */ color: oklch(65.5% 0.247 329.6);
Tailwind
colors: {
  custom: {
    50: '#ec84e4',
    500: '#dd42d7',
    950: '#000000',
  },
}
SCSS
$custom: #dd42d7;
$custom-light: #ec84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42d7",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 302.323,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.24673,
    "h": 329.6
  },
  "luminance": 0.24175
}

Semantic roles & 50–950 ramp

primary
#DD42D7
secondary
#9DDDA0
accent
#EC423B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #DD42D7

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

Preview Lab → · Contrast checker → · Palette generator →

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