#DD51C7#DD51C7

#DD51C7 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.1% C 0.217 H 334.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#DD51C7
RGBrgb(221, 81, 199)
HSLhsl(309, 67%, 59%)
HSVhsv(309, 63%, 87%)
CMYKcmyk(0%, 63.3%, 10%, 13.3%)
CIE-LABlab(57.45, 67.46, -34.23)
CIE-LCHlch(57.45, 75.65, 333.10°)
OKLaboklab(66.15% 0.1957 -0.0933)
OKLCHoklch(66.15% 0.217 334.5)
XYZxyz(43.0703, 25.3840, 56.6529)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51C7 #51DD67
analogous
#AD51DD #DD51C7 #DD5181
triadic
#DD51C7 #C7DD51 #51C7DD
tetradic
#DD51C7 #DDAD51 #51DD67 #5181DD
square
#DD51C7 #DDAD51 #51DD67 #5181DD
split-complementary
#DD51C7 #81DD51 #51DDAD
monochromatic
#961D83 #C927B0 #DD51C7 #E784D7 #F1B7E8

Accessibility & contrast

On white

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

On black

6.08
#DD51C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51C7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51C7#FFFFFF#000000##000000
##DD51C71.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#7D91C3
Tritanopia (blue-blind)
#E75B85
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dd51c7;
/* rgb */ color: rgb(221, 81, 199);
/* oklch */ color: oklch(66.1% 0.217 334.5);
Tailwind
colors: {
  custom: {
    50: '#eb8bd8',
    500: '#dd51c7',
    950: '#000000',
  },
}
SCSS
$custom: #dd51c7;
$custom-light: #eb8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51c7",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 309.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.21685,
    "h": 334.5
  },
  "luminance": 0.25381
}

Semantic roles & 50–950 ramp

primary
#DD51C7
secondary
#AAE0B2
accent
#EA593E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DD51C7

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

Preview Lab → · Contrast checker → · Palette generator →

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