#DD42DB#DD42DB

#DD42DB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.8% C 0.250 H 328.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#DD42DB
RGBrgb(221, 66, 219)
HSLhsl(301, 70%, 56%)
HSVhsv(301, 70%, 87%)
CMYKcmyk(0%, 70.1%, 0.9%, 13.3%)
CIE-LABlab(56.47, 76.02, -47.14)
CIE-LCHlch(56.47, 89.45, 328.20°)
OKLaboklab(65.76% 0.2129 -0.1304)
OKLCHoklch(65.76% 0.25 328.5)
XYZxyz(44.5527, 24.3863, 69.3645)
Luminance0.2438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42DB #42DD44
analogous
#9242DD #DD42DB #DD428E
triadic
#DD42DB #DBDD42 #42DBDD
tetradic
#DD42DB #DD9242 #42DD44 #428EDD
square
#DD42DB #DD9242 #42DD44 #428EDD
split-complementary
#DD42DB #8EDD42 #42DD92
monochromatic
#8C198A #BF22BD #DD42DB #E676E5 #F0AAEF

Accessibility & contrast

On white

3.57
#DD42DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#DD42DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42DB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42DB#FFFFFF#000000##000000
##DD42DB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#6C8FD7
Tritanopia (blue-blind)
#E4588B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dd42db;
/* rgb */ color: rgb(221, 66, 219);
/* oklch */ color: oklch(65.8% 0.250 328.5);
Tailwind
colors: {
  custom: {
    50: '#ec84e7',
    500: '#dd42db',
    950: '#000000',
  },
}
SCSS
$custom: #dd42db;
$custom-light: #ec84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42db",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 300.774,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.24968,
    "h": 328.5
  },
  "luminance": 0.24383
}

Semantic roles & 50–950 ramp

primary
#DD42DB
secondary
#9DDD9E
accent
#EC3E3B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DD42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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