#D978CF Color Information

Hex color code: #D978CF

The hex color #D978CF is a neutral magenta with RGB values of (217, 120, 207) and HSL of (306°, 56%, 66%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D978CF
RGB
217, 120, 207
HSL
306°, 56%, 66%
CMYK
0%, 45%, 5%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D978CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 120, 207

Red: 217 / Green: 120 / Blue: 207

HSL

306°, 56%, 66%

Hue: 306° / Saturation: 56% / Lightness: 66%

CMYK

0%, 45%, 5%, 15%

Cyan: 0% / Magenta: 45% / Yellow: 5% / Key: 15%

What color is #D978CF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D978CF to RGB:

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

HEX to HSL

Convert #D978CF to HSL:

hsl(306, 56%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #D978CF to CMYK:

cmyk(0%, 45%, 5%, 15%)Color Converter →

Color Meaning and Usage

#D978CF is a understated magenta color with RGB values of 217, 120, 207 and HSL of 306°, 56%, 66%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D978CF is #78D981, creating high-contrast pairings. For softer combinations, try analogous colors like #B278D9.

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

Contrast with #D978CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D978CF?

#D978CF is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D978CF?

#D978CF in RGB is (217, 120, 207) - 217 red, 120 green, and 207 blue.

How to use #D978CF in CSS?

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

What colors go well with #D978CF?

#78D981 (complementary), #B278D9 (analogous), and #C83CBA (lighter shade) work well with #D978CF.