#DD51D3#DD51D3

#DD51D3 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.226 H 330.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#DD51D3
RGBrgb(221, 81, 211)
HSLhsl(304, 67%, 59%)
HSVhsv(304, 63%, 87%)
CMYKcmyk(0%, 63.3%, 4.5%, 13.3%)
CIE-LABlab(58.00, 69.33, -40.19)
CIE-LCHlch(58.00, 80.14, 329.90°)
OKLaboklab(66.73% 0.197 -0.1104)
OKLCHoklch(66.73% 0.226 330.7)
XYZxyz(44.5189, 25.9634, 64.2820)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51D3 #51DD5B
analogous
#A151DD #DD51D3 #DD518D
triadic
#DD51D3 #D3DD51 #51D3DD
tetradic
#DD51D3 #DDA151 #51DD5B #518DDD
square
#DD51D3 #DDA151 #51DD5B #518DDD
split-complementary
#DD51D3 #8DDD51 #51DDA1
monochromatic
#961D8E #C927BE #DD51D3 #E784E0 #F1B7ED

Accessibility & contrast

On white

3.39
#DD51D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#DD51D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51D3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51D3#FFFFFF#000000##000000
##DD51D31.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD7
Deuteranopia (green-blind)
#7892CF
Tritanopia (blue-blind)
#E5608B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dd51d3;
/* rgb */ color: rgb(221, 81, 211);
/* oklch */ color: oklch(66.7% 0.226 330.7);
Tailwind
colors: {
  custom: {
    50: '#eb8be1',
    500: '#dd51d3',
    950: '#000000',
  },
}
SCSS
$custom: #dd51d3;
$custom-light: #eb8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51d3",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 304.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66732,
    "c": 0.22585,
    "h": 330.7
  },
  "luminance": 0.2596
}

Semantic roles & 50–950 ramp

primary
#DD51D3
secondary
#AAE0AD
accent
#EA4A3E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DD51D3

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

Preview Lab → · Contrast checker → · Palette generator →

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