#DD51CB#DD51CB

#DD51CB is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.3% C 0.220 H 333.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#DD51CB
RGBrgb(221, 81, 203)
HSLhsl(308, 67%, 59%)
HSVhsv(308, 63%, 87%)
CMYKcmyk(0%, 63.3%, 8.1%, 13.3%)
CIE-LABlab(57.63, 68.07, -36.23)
CIE-LCHlch(57.63, 77.11, 331.98°)
OKLaboklab(66.34% 0.1962 -0.099)
OKLCHoklch(66.34% 0.22 333.2)
XYZxyz(43.5409, 25.5722, 59.1310)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51CB #51DD63
analogous
#A951DD #DD51CB #DD5185
triadic
#DD51CB #CBDD51 #51CBDD
tetradic
#DD51CB #DDA951 #51DD63 #5185DD
square
#DD51CB #DDA951 #51DD63 #5185DD
split-complementary
#DD51CB #85DD51 #51DDA9
monochromatic
#961D87 #C927B5 #DD51CB #E784DA #F1B7EA

Accessibility & contrast

On white

3.43
#DD51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#DD51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51CB#FFFFFF#000000##000000
##DD51CB1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCF
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#E65C87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dd51cb;
/* rgb */ color: rgb(221, 81, 203);
/* oklch */ color: oklch(66.3% 0.220 333.2);
Tailwind
colors: {
  custom: {
    50: '#eb8bdb',
    500: '#dd51cb',
    950: '#000000',
  },
}
SCSS
$custom: #dd51cb;
$custom-light: #eb8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51cb",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 307.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66339,
    "c": 0.2198,
    "h": 333.2
  },
  "luminance": 0.25569
}

Semantic roles & 50–950 ramp

primary
#DD51CB
secondary
#AAE0B1
accent
#EA543E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DD51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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