#DD51D7#DD51D7

#DD51D7 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.229 H 329.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#DD51D7
RGBrgb(221, 81, 215)
HSLhsl(303, 67%, 59%)
HSVhsv(303, 63%, 87%)
CMYKcmyk(0%, 63.3%, 2.7%, 13.3%)
CIE-LABlab(58.19, 69.97, -42.15)
CIE-LCHlch(58.19, 81.69, 328.93°)
OKLaboklab(66.94% 0.1973 -0.1161)
OKLCHoklch(66.94% 0.229 329.5)
XYZxyz(45.0266, 26.1665, 66.9559)
Luminance0.2616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51D7 #51DD57
analogous
#9D51DD #DD51D7 #DD5191
triadic
#DD51D7 #D7DD51 #51D7DD
tetradic
#DD51D7 #DD9D51 #51DD57 #5191DD
square
#DD51D7 #DD9D51 #51DD57 #5191DD
split-complementary
#DD51D7 #91DD51 #51DD9D
monochromatic
#961D91 #C927C2 #DD51D7 #E784E3 #F1B7EF

Accessibility & contrast

On white

3.37
#DD51D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#DD51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51D7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51D7#FFFFFF#000000##000000
##DD51D71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4480DB
Deuteranopia (green-blind)
#7693D3
Tritanopia (blue-blind)
#E5618D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dd51d7;
/* rgb */ color: rgb(221, 81, 215);
/* oklch */ color: oklch(66.9% 0.229 329.5);
Tailwind
colors: {
  custom: {
    50: '#eb8be4',
    500: '#dd51d7',
    950: '#000000',
  },
}
SCSS
$custom: #dd51d7;
$custom-light: #eb8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51d7",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 302.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66935,
    "c": 0.22895,
    "h": 329.5
  },
  "luminance": 0.26163
}

Semantic roles & 50–950 ramp

primary
#DD51D7
secondary
#AAE0AC
accent
#EA453E
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DD51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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