#DD51DB#DD51DB

#DD51DB is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.232 H 328.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#DD51DB
RGBrgb(221, 81, 219)
HSLhsl(301, 67%, 59%)
HSVhsv(301, 63%, 87%)
CMYKcmyk(0%, 63.3%, 0.9%, 13.3%)
CIE-LABlab(58.39, 70.62, -44.10)
CIE-LCHlch(58.39, 83.26, 328.01°)
OKLaboklab(67.14% 0.1976 -0.1217)
OKLCHoklch(67.14% 0.232 328.4)
XYZxyz(45.5469, 26.3746, 69.6959)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51DB #51DD53
analogous
#9951DD #DD51DB #DD5195
triadic
#DD51DB #DBDD51 #51DBDD
tetradic
#DD51DB #DD9951 #51DD53 #5195DD
square
#DD51DB #DD9951 #51DD53 #5195DD
split-complementary
#DD51DB #95DD51 #51DD99
monochromatic
#961D95 #C927C7 #DD51DB #E784E6 #F1B7F0

Accessibility & contrast

On white

3.35
#DD51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#DD51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51DB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51DB#FFFFFF#000000##000000
##DD51DB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081DF
Deuteranopia (green-blind)
#7493D7
Tritanopia (blue-blind)
#E4638F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dd51db;
/* rgb */ color: rgb(221, 81, 219);
/* oklch */ color: oklch(67.1% 0.232 328.4);
Tailwind
colors: {
  custom: {
    50: '#eb8be6',
    500: '#dd51db',
    950: '#000000',
  },
}
SCSS
$custom: #dd51db;
$custom-light: #eb8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51db",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 300.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6714,
    "c": 0.23208,
    "h": 328.4
  },
  "luminance": 0.26371
}

Semantic roles & 50–950 ramp

primary
#DD51DB
secondary
#AAE0AA
accent
#EA403E
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DD51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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