#DD51CD#DD51CD

#DD51CD is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.221 H 332.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#DD51CD
RGBrgb(221, 81, 205)
HSLhsl(307, 67%, 59%)
HSVhsv(307, 63%, 87%)
CMYKcmyk(0%, 63.3%, 7.2%, 13.3%)
CIE-LABlab(57.72, 68.38, -37.22)
CIE-LCHlch(57.72, 77.86, 331.44°)
OKLaboklab(66.44% 0.1964 -0.1019)
OKLCHoklch(66.44% 0.221 332.6)
XYZxyz(43.7807, 25.6681, 60.3943)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51CD #51DD61
analogous
#A751DD #DD51CD #DD5187
triadic
#DD51CD #CDDD51 #51CDDD
tetradic
#DD51CD #DDA751 #51DD61 #5187DD
square
#DD51CD #DDA751 #51DD61 #5187DD
split-complementary
#DD51CD #87DD51 #51DDA7
monochromatic
#961D88 #C927B7 #DD51CD #E784DC #F1B7EA

Accessibility & contrast

On white

3.42
#DD51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#DD51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51CD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51CD#FFFFFF#000000##000000
##DD51CD1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#E65D88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dd51cd;
/* rgb */ color: rgb(221, 81, 205);
/* oklch */ color: oklch(66.4% 0.221 332.6);
Tailwind
colors: {
  custom: {
    50: '#eb8bdc',
    500: '#dd51cd',
    950: '#000000',
  },
}
SCSS
$custom: #dd51cd;
$custom-light: #eb8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51cd",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 306.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66436,
    "c": 0.2213,
    "h": 332.6
  },
  "luminance": 0.25665
}

Semantic roles & 50–950 ramp

primary
#DD51CD
secondary
#AAE0B0
accent
#EA513E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DD51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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