#DD42D1#DD42D1

#DD42D1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.2% C 0.242 H 331.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#DD42D1
RGBrgb(221, 66, 209)
HSLhsl(305, 70%, 56%)
HSVhsv(305, 70%, 87%)
CMYKcmyk(0%, 70.1%, 5.4%, 13.3%)
CIE-LABlab(55.96, 74.47, -42.26)
CIE-LCHlch(55.96, 85.63, 330.42°)
OKLaboklab(65.23% 0.2126 -0.1163)
OKLCHoklch(65.23% 0.242 331.3)
XYZxyz(43.2756, 23.8754, 62.6384)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42D1 #42DD4E
analogous
#9C42DD #DD42D1 #DD4284
triadic
#DD42D1 #D1DD42 #42D1DD
tetradic
#DD42D1 #DD9C42 #42DD4E #4284DD
square
#DD42D1 #DD9C42 #42DD4E #4284DD
split-complementary
#DD42D1 #84DD42 #42DD9C
monochromatic
#8C1983 #BF22B3 #DD42D1 #E676DE #F0AAEA

Accessibility & contrast

On white

3.64
#DD42D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#DD42D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42D1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42D1#FFFFFF#000000##000000
##DD42D11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#728ECD
Tritanopia (blue-blind)
#E65485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dd42d1;
/* rgb */ color: rgb(221, 66, 209);
/* oklch */ color: oklch(65.2% 0.242 331.3);
Tailwind
colors: {
  custom: {
    50: '#eb84df',
    500: '#dd42d1',
    950: '#000000',
  },
}
SCSS
$custom: #dd42d1;
$custom-light: #eb84df;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42d1",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 304.645,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65227,
    "c": 0.24234,
    "h": 331.3
  },
  "luminance": 0.23872
}

Semantic roles & 50–950 ramp

primary
#DD42D1
secondary
#9DDDA2
accent
#EC493B
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DD42D1

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

Preview Lab → · Contrast checker → · Palette generator →

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