#DC51C7#DC51C7

#DC51C7 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.216 H 334.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#DC51C7
RGBrgb(220, 81, 199)
HSLhsl(309, 67%, 59%)
HSVhsv(309, 63%, 86%)
CMYKcmyk(0%, 63.2%, 9.5%, 13.7%)
CIE-LABlab(57.30, 67.21, -34.47)
CIE-LCHlch(57.30, 75.54, 332.84°)
OKLaboklab(66.01% 0.1947 -0.0941)
OKLCHoklch(66.01% 0.216 334.2)
XYZxyz(42.7667, 25.2274, 56.6387)
Luminance0.2522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51C7 #51DC66
analogous
#AC51DC #DC51C7 #DC5182
triadic
#DC51C7 #C7DC51 #51C7DC
tetradic
#DC51C7 #DCAC51 #51DC66 #5182DC
square
#DC51C7 #DCAC51 #51DC66 #5182DC
split-complementary
#DC51C7 #82DC51 #51DCAC
monochromatic
#951E83 #C828B0 #DC51C7 #E684D7 #F0B7E8

Accessibility & contrast

On white

3.47
#DC51C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#DC51C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51C7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51C7#FFFFFF#000000##000000
##DC51C71.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CCB
Deuteranopia (green-blind)
#7D91C3
Tritanopia (blue-blind)
#E65B85
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dc51c7;
/* rgb */ color: rgb(220, 81, 199);
/* oklch */ color: oklch(66.0% 0.216 334.2);
Tailwind
colors: {
  custom: {
    50: '#ea8bd8',
    500: '#dc51c7',
    950: '#000000',
  },
}
SCSS
$custom: #dc51c7;
$custom-light: #ea8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51c7",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 309.065,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66008,
    "c": 0.21624,
    "h": 334.2
  },
  "luminance": 0.25224
}

Semantic roles & 50–950 ramp

primary
#DC51C7
secondary
#A9E0B1
accent
#E9583E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DC51C7

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

Preview Lab → · Contrast checker → · Palette generator →

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