#DD51C6#DD51C6

#DD51C6 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.216 H 334.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#DD51C6
RGBrgb(221, 81, 198)
HSLhsl(310, 67%, 59%)
HSVhsv(310, 63%, 87%)
CMYKcmyk(0%, 63.3%, 10.4%, 13.3%)
CIE-LABlab(57.40, 67.31, -33.73)
CIE-LCHlch(57.40, 75.29, 333.39°)
OKLaboklab(66.1% 0.1956 -0.0919)
OKLCHoklch(66.1% 0.216 334.8)
XYZxyz(42.9546, 25.3377, 56.0435)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51C6 #51DD68
analogous
#AE51DD #DD51C6 #DD5180
triadic
#DD51C6 #C6DD51 #51C6DD
tetradic
#DD51C6 #DDAE51 #51DD68 #5180DD
square
#DD51C6 #DDAE51 #51DD68 #5180DD
split-complementary
#DD51C6 #80DD51 #51DDAE
monochromatic
#961D82 #C927AF #DD51C6 #E784D7 #F1B7E8

Accessibility & contrast

On white

3.46
#DD51C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#DD51C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51C6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51C6#FFFFFF#000000##000000
##DD51C61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DC9
Deuteranopia (green-blind)
#7E91C2
Tritanopia (blue-blind)
#E75A84
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dd51c6;
/* rgb */ color: rgb(221, 81, 198);
/* oklch */ color: oklch(66.1% 0.216 334.8);
Tailwind
colors: {
  custom: {
    50: '#eb8bd7',
    500: '#dd51c6',
    950: '#000000',
  },
}
SCSS
$custom: #dd51c6;
$custom-light: #eb8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51c6",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 309.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66101,
    "c": 0.21612,
    "h": 334.8
  },
  "luminance": 0.25334
}

Semantic roles & 50–950 ramp

primary
#DD51C6
secondary
#AAE0B3
accent
#EA5A3E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DD51C6

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

Preview Lab → · Contrast checker → · Palette generator →

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