#DC51CB#DC51CB

#DC51CB is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.219 H 332.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#DC51CB
RGBrgb(220, 81, 203)
HSLhsl(307, 67%, 59%)
HSVhsv(307, 63%, 86%)
CMYKcmyk(0%, 63.2%, 7.7%, 13.7%)
CIE-LABlab(57.48, 67.83, -36.47)
CIE-LCHlch(57.48, 77.01, 331.73°)
OKLaboklab(66.2% 0.1952 -0.0998)
OKLCHoklch(66.2% 0.219 332.9)
XYZxyz(43.2372, 25.4156, 59.1168)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51CB #51DC62
analogous
#A851DC #DC51CB #DC5186
triadic
#DC51CB #CBDC51 #51CBDC
tetradic
#DC51CB #DCA851 #51DC62 #5186DC
square
#DC51CB #DCA851 #51DC62 #5186DC
split-complementary
#DC51CB #86DC51 #51DCA8
monochromatic
#951E86 #C828B4 #DC51CB #E684DA #F0B7E9

Accessibility & contrast

On white

3.45
#DC51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#DC51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51CB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51CB#FFFFFF#000000##000000
##DC51CB1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCF
Deuteranopia (green-blind)
#7B91C7
Tritanopia (blue-blind)
#E55D87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dc51cb;
/* rgb */ color: rgb(220, 81, 203);
/* oklch */ color: oklch(66.2% 0.219 332.9);
Tailwind
colors: {
  custom: {
    50: '#ea8bdb',
    500: '#dc51cb',
    950: '#000000',
  },
}
SCSS
$custom: #dc51cb;
$custom-light: #ea8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51cb",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 307.338,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.662,
    "c": 0.21921,
    "h": 332.9
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#DC51CB
secondary
#A9E0B0
accent
#E9533E
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170D15
muted
#857D83

Preview Lab

Preview with #DC51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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