#DD42D4#DD42D4

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

Color values

HEX#DD42D4
RGBrgb(221, 66, 212)
HSLhsl(303, 70%, 56%)
HSVhsv(303, 70%, 87%)
CMYKcmyk(0%, 70.1%, 4.1%, 13.3%)
CIE-LABlab(56.11, 74.93, -43.73)
CIE-LCHlch(56.11, 86.76, 329.73°)
OKLaboklab(65.38% 0.2127 -0.1205)
OKLCHoklch(65.38% 0.245 330.5)
XYZxyz(43.6505, 24.0254, 64.6129)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42D4 #42DD4B
analogous
#9942DD #DD42D4 #DD4287
triadic
#DD42D4 #D4DD42 #42D4DD
tetradic
#DD42D4 #DD9942 #42DD4B #4287DD
square
#DD42D4 #DD9942 #42DD4B #4287DD
split-complementary
#DD42D4 #87DD42 #42DD99
monochromatic
#8C1985 #BF22B6 #DD42D4 #E676E0 #F0AAEC

Accessibility & contrast

On white

3.62
#DD42D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#DD42D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42D4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42D4#FFFFFF#000000##000000
##DD42D41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3379D8
Deuteranopia (green-blind)
#708ED0
Tritanopia (blue-blind)
#E55587
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dd42d4;
/* rgb */ color: rgb(221, 66, 212);
/* oklch */ color: oklch(65.4% 0.245 330.5);
Tailwind
colors: {
  custom: {
    50: '#ec84e2',
    500: '#dd42d4',
    950: '#000000',
  },
}
SCSS
$custom: #dd42d4;
$custom-light: #ec84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42d4",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 303.484,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65383,
    "c": 0.24452,
    "h": 330.5
  },
  "luminance": 0.24022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD42D4

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

Preview Lab → · Contrast checker → · Palette generator →

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