#D987ED Color Information

Hex color code: #D987ED

#D987ED is a vivid magenta color. In RGB it is (217, 135, 237), and in HSL it is (288°, 74%, 73%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D987ED
RGB
217, 135, 237
HSL
288°, 74%, 73%
CMYK
8%, 43%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D987ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 135, 237

Red: 217 / Green: 135 / Blue: 237

HSL

288°, 74%, 73%

Hue: 288° / Saturation: 74% / Lightness: 73%

CMYK

8%, 43%, 0%, 7%

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

What color is #D987ED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D987ED to RGB:

rgb(217, 135, 237)HEX to RGB Converter →

HEX to HSL

Convert #D987ED to HSL:

hsl(288, 74%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #D987ED to CMYK:

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

Color Meaning and Usage

A dynamic magenta tone, #D987ED has RGB (217, 135, 237) and HSL (288°, 74%, 73%). 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 #D987ED is #9CED87, creating high-contrast pairings. For softer combinations, try analogous colors like #A687ED.

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

Contrast with #D987ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D987ED?

#D987ED is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D987ED?

#D987ED in RGB is (217, 135, 237) - 217 red, 135 green, and 237 blue.

How to use #D987ED in CSS?

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

What colors go well with #D987ED?

#9CED87 (complementary), #A687ED (analogous), and #C345E3 (lighter shade) work well with #D987ED.