#DC51D6#DC51D6

#DC51D6 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.228 H 329.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#DC51D6
RGBrgb(220, 81, 214)
HSLhsl(303, 67%, 59%)
HSVhsv(303, 63%, 86%)
CMYKcmyk(0%, 63.2%, 2.7%, 13.7%)
CIE-LABlab(58.00, 69.57, -41.91)
CIE-LCHlch(58.00, 81.22, 328.94°)
OKLaboklab(66.75% 0.1962 -0.1154)
OKLCHoklch(66.75% 0.228 329.5)
XYZxyz(44.5949, 25.9587, 66.2670)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D6 #51DC57
analogous
#9D51DC #DC51D6 #DC5191
triadic
#DC51D6 #D6DC51 #51D6DC
tetradic
#DC51D6 #DC9D51 #51DC57 #5191DC
square
#DC51D6 #DC9D51 #51DC57 #5191DC
split-complementary
#DC51D6 #91DC51 #51DC9D
monochromatic
#951E90 #C828C1 #DC51D6 #E684E2 #F0B7EE

Accessibility & contrast

On white

3.39
#DC51D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#DC51D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D6#FFFFFF#000000##000000
##DC51D61.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FDA
Deuteranopia (green-blind)
#7692D2
Tritanopia (blue-blind)
#E4618D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc51d6;
/* rgb */ color: rgb(220, 81, 214);
/* oklch */ color: oklch(66.7% 0.228 329.5);
Tailwind
colors: {
  custom: {
    50: '#ea8be3',
    500: '#dc51d6',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d6;
$custom-light: #ea8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d6",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 302.59,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66747,
    "c": 0.22763,
    "h": 329.5
  },
  "luminance": 0.25956
}

Semantic roles & 50–950 ramp

primary
#DC51D6
secondary
#A9E0AB
accent
#E9463E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC51D6

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

Preview Lab → · Contrast checker → · Palette generator →

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