#DC51CD#DC51CD

#DC51CD is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.221 H 332.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#DC51CD
RGBrgb(220, 81, 205)
HSLhsl(306, 67%, 59%)
HSVhsv(306, 63%, 86%)
CMYKcmyk(0%, 63.2%, 6.8%, 13.7%)
CIE-LABlab(57.57, 68.14, -37.47)
CIE-LCHlch(57.57, 77.76, 331.19°)
OKLaboklab(66.3% 0.1954 -0.1026)
OKLCHoklch(66.3% 0.221 332.3)
XYZxyz(43.4771, 25.5116, 60.3801)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51CD #51DC60
analogous
#A651DC #DC51CD #DC5188
triadic
#DC51CD #CDDC51 #51CDDC
tetradic
#DC51CD #DCA651 #51DC60 #5188DC
square
#DC51CD #DCA651 #51DC60 #5188DC
split-complementary
#DC51CD #88DC51 #51DCA6
monochromatic
#951E88 #C828B6 #DC51CD #E684DC #F0B7EA

Accessibility & contrast

On white

3.44
#DC51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#DC51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51CD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51CD#FFFFFF#000000##000000
##DC51CD1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#7A91C9
Tritanopia (blue-blind)
#E55D88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dc51cd;
/* rgb */ color: rgb(220, 81, 205);
/* oklch */ color: oklch(66.3% 0.221 332.3);
Tailwind
colors: {
  custom: {
    50: '#ea8bdc',
    500: '#dc51cd',
    950: '#000000',
  },
}
SCSS
$custom: #dc51cd;
$custom-light: #ea8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51cd",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 306.475,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66297,
    "c": 0.22071,
    "h": 332.3
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#DC51CD
secondary
#A9E0AF
accent
#E9513E
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DC51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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