#DC51D9#DC51D9

#DC51D9 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.9% C 0.230 H 328.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#DC51D9
RGBrgb(220, 81, 217)
HSLhsl(301, 67%, 59%)
HSVhsv(301, 63%, 86%)
CMYKcmyk(0%, 63.2%, 1.4%, 13.7%)
CIE-LABlab(58.14, 70.06, -43.37)
CIE-LCHlch(58.14, 82.40, 328.24°)
OKLaboklab(66.9% 0.1964 -0.1196)
OKLCHoklch(66.9% 0.23 328.7)
XYZxyz(44.9815, 26.1133, 68.3034)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D9 #51DC54
analogous
#9A51DC #DC51D9 #DC5194
triadic
#DC51D9 #D9DC51 #51D9DC
tetradic
#DC51D9 #DC9A51 #51DC54 #5194DC
square
#DC51D9 #DC9A51 #51DC54 #5194DC
split-complementary
#DC51D9 #94DC51 #51DC9A
monochromatic
#951E92 #C828C4 #DC51D9 #E684E4 #F0B7EF

Accessibility & contrast

On white

3.38
#DC51D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#DC51D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D9#FFFFFF#000000##000000
##DC51D91.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DD
Deuteranopia (green-blind)
#7492D5
Tritanopia (blue-blind)
#E3628E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc51d9;
/* rgb */ color: rgb(220, 81, 217);
/* oklch */ color: oklch(66.9% 0.230 328.7);
Tailwind
colors: {
  custom: {
    50: '#ea8be5',
    500: '#dc51d9',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d9;
$custom-light: #ea8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d9",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 301.295,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66901,
    "c": 0.22998,
    "h": 328.7
  },
  "luminance": 0.2611
}

Semantic roles & 50–950 ramp

primary
#DC51D9
secondary
#A9E0AA
accent
#E9423E
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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