#D87DD4 Color Information

Hex color code: #D87DD4

A balanced magenta shade, #D87DD4 appears as (216, 125, 212) in RGB and (303°, 54%, 67%) in HSL. It is often used for branding and logos.

Try:
Color NameViolet
HEX
#D87DD4
RGB
216, 125, 212
HSL
303°, 54%, 67%
CMYK
0%, 42%, 2%, 15%

Shades

CSS Usage
color: #D87DD4;
background-color: #D87DD4;
border-color: #D87DD4;
box-shadow: 0 0 10px #D87DD4;
border: 2px solid #D87DD4;
Tailwind Usage
bg-[#D87DD4]
text-[#D87DD4]
border-[#D87DD4]
shadow-[0_0_10px_D87DD4]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #D87DD4, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #D87DD4; color: #000000; }

Badge

New Feature
.badge { background-color: #D87DD4; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #D87DD4; background-color: #D87DD415; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #D87DD420; border-left: 4px solid #D87DD4; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #D87DD4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #D87DD4 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 125, 212

Red: 216 / Green: 125 / Blue: 212

HSL

303°, 54%, 67%

Hue: 303° / Saturation: 54% / Lightness: 67%

CMYK

0%, 42%, 2%, 15%

Cyan: 0% / Magenta: 42% / Yellow: 2% / Key: 15%

What color is #D87DD4?

#D87DD4 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D87DD4 to RGB:

rgb(216, 125, 212)HEX to RGB Converter →

HEX to HSL

Convert #D87DD4 to HSL:

hsl(303, 54%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #D87DD4 to CMYK:

cmyk(0%, 42%, 2%, 15%)Color Converter →

Color Meaning and Usage

#D87DD4 is a neutral magenta color with RGB values of 216, 125, 212 and HSL of 303°, 54%, 67%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D87DD4 is #7DD882, creating high-contrast pairings. For softer combinations, try analogous colors like #AF7DD8.

Use #D87DD4 in CSS: color: #D87DD4 or background-color: #D87DD4. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #D87DD4

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.80:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D87DD4?

#D87DD4 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D87DD4?

#D87DD4 in RGB is (216, 125, 212) - 216 red, 125 green, and 212 blue.

How to use #D87DD4 in CSS?

Use #D87DD4 directly in your CSS properties like color or background-color.

What colors go well with #D87DD4?

#7DD882 (complementary), #AF7DD8 (analogous), and #C743C0 (lighter shade) work well with #D87DD4.