#DC51D8#DC51D8

#DC51D8 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.229 H 328.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#DC51D8
RGBrgb(220, 81, 216)
HSLhsl(302, 67%, 59%)
HSVhsv(302, 63%, 86%)
CMYKcmyk(0%, 63.2%, 1.8%, 13.7%)
CIE-LABlab(58.10, 69.89, -42.88)
CIE-LCHlch(58.10, 82.00, 328.47°)
OKLaboklab(66.85% 0.1963 -0.1182)
OKLCHoklch(66.85% 0.229 328.9)
XYZxyz(44.8518, 26.0615, 67.6204)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D8 #51DC55
analogous
#9B51DC #DC51D8 #DC5193
triadic
#DC51D8 #D8DC51 #51D8DC
tetradic
#DC51D8 #DC9B51 #51DC55 #5193DC
square
#DC51D8 #DC9B51 #51DC55 #5193DC
split-complementary
#DC51D8 #93DC51 #51DC9B
monochromatic
#951E91 #C828C3 #DC51D8 #E684E3 #F0B7EF

Accessibility & contrast

On white

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

On black

6.21
#DC51D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D8#FFFFFF#000000##000000
##DC51D81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DC
Deuteranopia (green-blind)
#7592D4
Tritanopia (blue-blind)
#E3628E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc51d8;
/* rgb */ color: rgb(220, 81, 216);
/* oklch */ color: oklch(66.8% 0.229 328.9);
Tailwind
colors: {
  custom: {
    50: '#ea8be4',
    500: '#dc51d8',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d8;
$custom-light: #ea8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d8",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 301.727,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.22919,
    "h": 328.9
  },
  "luminance": 0.26058
}

Semantic roles & 50–950 ramp

primary
#DC51D8
secondary
#A9E0AB
accent
#E9433E
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DC51D8

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

Preview Lab → · Contrast checker → · Palette generator →

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