#D87FEC Color Information

Hex color code: #D87FEC

The hex color #D87FEC is a vivid magenta with RGB values of (216, 127, 236) and HSL of (289°, 74%, 71%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D87FEC
RGB
216, 127, 236
HSL
289°, 74%, 71%
CMYK
8%, 46%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #D87FEC; 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 #D87FEC; background-color: #D87FEC15; }

Alert / Toast

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

Link / Accent

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

a { color: #D87FEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 127, 236

Red: 216 / Green: 127 / Blue: 236

HSL

289°, 74%, 71%

Hue: 289° / Saturation: 74% / Lightness: 71%

CMYK

8%, 46%, 0%, 7%

Cyan: 8% / Magenta: 46% / Yellow: 0% / Key: 7%

What color is #D87FEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D87FEC to RGB:

rgb(216, 127, 236)HEX to RGB Converter →

HEX to HSL

Convert #D87FEC to HSL:

hsl(289, 74%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #D87FEC to CMYK:

cmyk(8%, 46%, 0%, 7%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #D87FEC has RGB (216, 127, 236) and HSL (289°, 74%, 71%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D87FEC is #92EC7E, creating high-contrast pairings. For softer combinations, try analogous colors like #A17EEC.

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

Contrast with #D87FEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D87FEC?

#D87FEC is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D87FEC?

#D87FEC in RGB is (216, 127, 236) - 216 red, 127 green, and 236 blue.

How to use #D87FEC in CSS?

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

What colors go well with #D87FEC?

#92EC7E (complementary), #A17EEC (analogous), and #C33CE2 (lighter shade) work well with #D87FEC.