#DC51D3#DC51D3

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

Color values

HEX#DC51D3
RGBrgb(220, 81, 211)
HSLhsl(304, 67%, 59%)
HSVhsv(304, 63%, 86%)
CMYKcmyk(0%, 63.2%, 4.1%, 13.7%)
CIE-LABlab(57.85, 69.09, -40.43)
CIE-LCHlch(57.85, 80.05, 329.66°)
OKLaboklab(66.6% 0.196 -0.1112)
OKLCHoklch(66.6% 0.225 330.4)
XYZxyz(44.2153, 25.8068, 64.2678)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D3 #51DC5A
analogous
#A051DC #DC51D3 #DC518E
triadic
#DC51D3 #D3DC51 #51D3DC
tetradic
#DC51D3 #DCA051 #51DC5A #518EDC
square
#DC51D3 #DCA051 #51DC5A #518EDC
split-complementary
#DC51D3 #8EDC51 #51DCA0
monochromatic
#951E8D #C828BD #DC51D3 #E684E0 #F0B7ED

Accessibility & contrast

On white

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

On black

6.16
#DC51D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D3#FFFFFF#000000##000000
##DC51D31.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD7
Deuteranopia (green-blind)
#7792CF
Tritanopia (blue-blind)
#E4608B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc51d3;
/* rgb */ color: rgb(220, 81, 211);
/* oklch */ color: oklch(66.6% 0.225 330.4);
Tailwind
colors: {
  custom: {
    50: '#ea8be1',
    500: '#dc51d3',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d3;
$custom-light: #ea8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d3",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 303.885,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66595,
    "c": 0.22529,
    "h": 330.4
  },
  "luminance": 0.25804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51D3

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

Preview Lab → · Contrast checker → · Palette generator →

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