#DC51D5#DC51D5

#DC51D5 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.227 H 329.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#DC51D5
RGBrgb(220, 81, 213)
HSLhsl(303, 67%, 59%)
HSVhsv(303, 63%, 86%)
CMYKcmyk(0%, 63.2%, 3.2%, 13.7%)
CIE-LABlab(57.95, 69.41, -41.42)
CIE-LCHlch(57.95, 80.83, 329.17°)
OKLaboklab(66.7% 0.1961 -0.114)
OKLCHoklch(66.7% 0.227 329.8)
XYZxyz(44.4676, 25.9078, 65.5965)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D5 #51DC58
analogous
#9E51DC #DC51D5 #DC5190
triadic
#DC51D5 #D5DC51 #51D5DC
tetradic
#DC51D5 #DC9E51 #51DC58 #5190DC
square
#DC51D5 #DC9E51 #51DC58 #5190DC
split-complementary
#DC51D5 #90DC51 #51DC9E
monochromatic
#951E8F #C828C0 #DC51D5 #E684E1 #F0B7EE

Accessibility & contrast

On white

3.40
#DC51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#DC51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D5#FFFFFF#000000##000000
##DC51D51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#7692D1
Tritanopia (blue-blind)
#E4618C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc51d5;
/* rgb */ color: rgb(220, 81, 213);
/* oklch */ color: oklch(66.7% 0.227 329.8);
Tailwind
colors: {
  custom: {
    50: '#ea8be2',
    500: '#dc51d5',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d5;
$custom-light: #ea8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d5",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 303.022,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.22685,
    "h": 329.8
  },
  "luminance": 0.25905
}

Semantic roles & 50–950 ramp

primary
#DC51D5
secondary
#A9E0AC
accent
#E9473E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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