#DD51D5#DD51D5

#DD51D5 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.227 H 330.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#DD51D5
RGBrgb(221, 81, 213)
HSLhsl(303, 67%, 59%)
HSVhsv(303, 63%, 87%)
CMYKcmyk(0%, 63.3%, 3.6%, 13.3%)
CIE-LABlab(58.10, 69.65, -41.17)
CIE-LCHlch(58.10, 80.91, 329.41°)
OKLaboklab(66.83% 0.1972 -0.1133)
OKLCHoklch(66.83% 0.227 330.1)
XYZxyz(44.7712, 26.0643, 65.6107)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51D5 #51DD59
analogous
#9F51DD #DD51D5 #DD518F
triadic
#DD51D5 #D5DD51 #51D5DD
tetradic
#DD51D5 #DD9F51 #51DD59 #518FDD
square
#DD51D5 #DD9F51 #51DD59 #518FDD
split-complementary
#DD51D5 #8FDD51 #51DD9F
monochromatic
#961D8F #C927C0 #DD51D5 #E784E1 #F1B7EE

Accessibility & contrast

On white

3.38
#DD51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#DD51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51D5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51D5#FFFFFF#000000##000000
##DD51D51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467FD9
Deuteranopia (green-blind)
#7792D1
Tritanopia (blue-blind)
#E5608C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dd51d5;
/* rgb */ color: rgb(221, 81, 213);
/* oklch */ color: oklch(66.8% 0.227 330.1);
Tailwind
colors: {
  custom: {
    50: '#eb8be2',
    500: '#dd51d5',
    950: '#000000',
  },
}
SCSS
$custom: #dd51d5;
$custom-light: #eb8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51d5",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 303.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66833,
    "c": 0.2274,
    "h": 330.1
  },
  "luminance": 0.26061
}

Semantic roles & 50–950 ramp

primary
#DD51D5
secondary
#AAE0AD
accent
#EA473E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DD51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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