#DD51D8#DD51D8

#DD51D8 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.230 H 329.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#DD51D8
RGBrgb(221, 81, 216)
HSLhsl(302, 67%, 59%)
HSVhsv(302, 63%, 87%)
CMYKcmyk(0%, 63.3%, 2.3%, 13.3%)
CIE-LABlab(58.24, 70.13, -42.64)
CIE-LCHlch(58.24, 82.08, 328.70°)
OKLaboklab(66.99% 0.1974 -0.1175)
OKLCHoklch(66.99% 0.23 329.2)
XYZxyz(45.1555, 26.2180, 67.6347)
Luminance0.2621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51D8 #51DD56
analogous
#9C51DD #DD51D8 #DD5192
triadic
#DD51D8 #D8DD51 #51D8DD
tetradic
#DD51D8 #DD9C51 #51DD56 #5192DD
square
#DD51D8 #DD9C51 #51DD56 #5192DD
split-complementary
#DD51D8 #92DD51 #51DD9C
monochromatic
#961D92 #C927C4 #DD51D8 #E784E3 #F1B7EF

Accessibility & contrast

On white

3.36
#DD51D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#DD51D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51D8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51D8#FFFFFF#000000##000000
##DD51D81.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DC
Deuteranopia (green-blind)
#7693D4
Tritanopia (blue-blind)
#E4628E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dd51d8;
/* rgb */ color: rgb(221, 81, 216);
/* oklch */ color: oklch(67.0% 0.230 329.2);
Tailwind
colors: {
  custom: {
    50: '#eb8be4',
    500: '#dd51d8',
    950: '#000000',
  },
}
SCSS
$custom: #dd51d8;
$custom-light: #eb8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51d8",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 302.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66986,
    "c": 0.22973,
    "h": 329.2
  },
  "luminance": 0.26215
}

Semantic roles & 50–950 ramp

primary
#DD51D8
secondary
#AAE0AB
accent
#EA443E
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DD51D8

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

Preview Lab → · Contrast checker → · Palette generator →

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