#DD51D2#DD51D2

#DD51D2 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.225 H 331.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#DD51D2
RGBrgb(221, 81, 210)
HSLhsl(305, 67%, 59%)
HSVhsv(305, 63%, 87%)
CMYKcmyk(0%, 63.3%, 5%, 13.3%)
CIE-LABlab(57.95, 69.17, -39.70)
CIE-LCHlch(57.95, 79.75, 330.15°)
OKLaboklab(66.68% 0.1969 -0.109)
OKLCHoklch(66.68% 0.225 331)
XYZxyz(44.3939, 25.9134, 63.6239)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51D2 #51DD5C
analogous
#A251DD #DD51D2 #DD518C
triadic
#DD51D2 #D2DD51 #51D2DD
tetradic
#DD51D2 #DDA251 #51DD5C #518CDD
square
#DD51D2 #DDA251 #51DD5C #518CDD
split-complementary
#DD51D2 #8CDD51 #51DDA2
monochromatic
#961D8D #C927BD #DD51D2 #E784DF #F1B7EC

Accessibility & contrast

On white

3.40
#DD51D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#DD51D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51D2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51D2#FFFFFF#000000##000000
##DD51D21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD6
Deuteranopia (green-blind)
#7892CE
Tritanopia (blue-blind)
#E55F8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dd51d2;
/* rgb */ color: rgb(221, 81, 210);
/* oklch */ color: oklch(66.7% 0.225 331.0);
Tailwind
colors: {
  custom: {
    50: '#eb8be0',
    500: '#dd51d2',
    950: '#000000',
  },
}
SCSS
$custom: #dd51d2;
$custom-light: #eb8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51d2",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 304.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66682,
    "c": 0.22508,
    "h": 331
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#DD51D2
secondary
#AAE0AE
accent
#EA4B3E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DD51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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