#DC51D2#DC51D2

#DC51D2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.5% C 0.225 H 330.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#DC51D2
RGBrgb(220, 81, 210)
HSLhsl(304, 67%, 59%)
HSVhsv(304, 63%, 86%)
CMYKcmyk(0%, 63.2%, 4.5%, 13.7%)
CIE-LABlab(57.81, 68.93, -39.94)
CIE-LCHlch(57.81, 79.66, 329.91°)
OKLaboklab(66.55% 0.1959 -0.1097)
OKLCHoklch(66.55% 0.225 330.7)
XYZxyz(44.0903, 25.7569, 63.6096)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D2 #51DC5B
analogous
#A151DC #DC51D2 #DC518D
triadic
#DC51D2 #D2DC51 #51D2DC
tetradic
#DC51D2 #DCA151 #51DC5B #518DDC
square
#DC51D2 #DCA151 #51DC5B #518DDC
split-complementary
#DC51D2 #8DDC51 #51DCA1
monochromatic
#951E8C #C828BC #DC51D2 #E684DF #F0B7EC

Accessibility & contrast

On white

3.41
#DC51D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#DC51D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D2#FFFFFF#000000##000000
##DC51D21.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD6
Deuteranopia (green-blind)
#7892CE
Tritanopia (blue-blind)
#E45F8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc51d2;
/* rgb */ color: rgb(220, 81, 210);
/* oklch */ color: oklch(66.5% 0.225 330.7);
Tailwind
colors: {
  custom: {
    50: '#ea8be0',
    500: '#dc51d2',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d2;
$custom-light: #ea8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d2",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 304.317,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66545,
    "c": 0.22453,
    "h": 330.7
  },
  "luminance": 0.25754
}

Semantic roles & 50–950 ramp

primary
#DC51D2
secondary
#A9E0AD
accent
#E94B3E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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