#DC51D7#DC51D7

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

Color values

HEX#DC51D7
RGBrgb(220, 81, 215)
HSLhsl(302, 67%, 59%)
HSVhsv(302, 63%, 86%)
CMYKcmyk(0%, 63.2%, 2.3%, 13.7%)
CIE-LABlab(58.05, 69.73, -42.40)
CIE-LCHlch(58.05, 81.61, 328.70°)
OKLaboklab(66.8% 0.1963 -0.1168)
OKLCHoklch(66.8% 0.228 329.2)
XYZxyz(44.7230, 26.0099, 66.9417)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51D7 #51DC56
analogous
#9C51DC #DC51D7 #DC5192
triadic
#DC51D7 #D7DC51 #51D7DC
tetradic
#DC51D7 #DC9C51 #51DC56 #5192DC
square
#DC51D7 #DC9C51 #51DC56 #5192DC
split-complementary
#DC51D7 #92DC51 #51DC9C
monochromatic
#951E90 #C828C2 #DC51D7 #E684E3 #F0B7EE

Accessibility & contrast

On white

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

On black

6.20
#DC51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51D7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51D7#FFFFFF#000000##000000
##DC51D71.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DB
Deuteranopia (green-blind)
#7592D3
Tritanopia (blue-blind)
#E3618D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #dc51d7;
/* rgb */ color: rgb(220, 81, 215);
/* oklch */ color: oklch(66.8% 0.228 329.2);
Tailwind
colors: {
  custom: {
    50: '#ea8be4',
    500: '#dc51d7',
    950: '#000000',
  },
}
SCSS
$custom: #dc51d7;
$custom-light: #ea8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51d7",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 302.158,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66798,
    "c": 0.2284,
    "h": 329.2
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#DC51D7
secondary
#A9E0AB
accent
#E9453E
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DC51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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