#D978ED Color Information

Hex color code: #D978ED

A striking magenta shade, #D978ED appears as (217, 120, 237) in RGB and (290°, 76%, 70%) in HSL. It is often used for branding and logos.

Try:
Color NameViolet
HEX
#D978ED
RGB
217, 120, 237
HSL
290°, 76%, 70%
CMYK
8%, 49%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D978ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 120, 237

Red: 217 / Green: 120 / Blue: 237

HSL

290°, 76%, 70%

Hue: 290° / Saturation: 76% / Lightness: 70%

CMYK

8%, 49%, 0%, 7%

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

What color is #D978ED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D978ED to RGB:

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

HEX to HSL

Convert #D978ED to HSL:

hsl(290, 76%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D978ED to CMYK:

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

Color Meaning and Usage

A dynamic magenta tone, #D978ED has RGB (217, 120, 237) and HSL (290°, 76%, 70%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D978ED is #8CED78, creating high-contrast pairings. For softer combinations, try analogous colors like #9F78ED.

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

Contrast with #D978ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D978ED?

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

What is the RGB value of #D978ED?

#D978ED in RGB is (217, 120, 237) - 217 red, 120 green, and 237 blue.

How to use #D978ED in CSS?

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

What colors go well with #D978ED?

#8CED78 (complementary), #9F78ED (analogous), and #C635E3 (lighter shade) work well with #D978ED.