#DC51D1#DC51D1

#DC51D1 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.224 H 331.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#DC51D1
RGBrgb(220, 81, 209)
HSLhsl(305, 67%, 59%)
HSVhsv(305, 63%, 86%)
CMYKcmyk(0%, 63.2%, 5%, 13.7%)
CIE-LABlab(57.76, 68.77, -39.45)
CIE-LCHlch(57.76, 79.28, 330.16°)
OKLaboklab(66.5% 0.1958 -0.1083)
OKLCHoklch(66.5% 0.224 331)
XYZxyz(43.9661, 25.7072, 62.9556)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D1 #51DC5C
analogous
#A251DC #DC51D1 #DC518C
triadic
#DC51D1 #D1DC51 #51D1DC
tetradic
#DC51D1 #DCA251 #51DC5C #518CDC
square
#DC51D1 #DCA251 #51DC5C #518CDC
split-complementary
#DC51D1 #8CDC51 #51DCA2
monochromatic
#951E8B #C828BB #DC51D1 #E684DE #F0B7EC

Accessibility & contrast

On white

3.42
#DC51D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#DC51D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D1#FFFFFF#000000##000000
##DC51D11.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ED5
Deuteranopia (green-blind)
#7892CD
Tritanopia (blue-blind)
#E45F8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc51d1;
/* rgb */ color: rgb(220, 81, 209);
/* oklch */ color: oklch(66.5% 0.224 331.0);
Tailwind
colors: {
  custom: {
    50: '#ea8bdf',
    500: '#dc51d1',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d1;
$custom-light: #ea8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d1",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 304.748,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66495,
    "c": 0.22376,
    "h": 331
  },
  "luminance": 0.25704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51D1

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

Preview Lab → · Contrast checker → · Palette generator →

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