#D984F0 Color Information

Hex color code: #D984F0

#D984F0 is a striking magenta color. In RGB it is (217, 132, 240), and in HSL it is (287°, 78%, 73%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#D984F0
RGB
217, 132, 240
HSL
287°, 78%, 73%
CMYK
10%, 45%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D984F0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 132, 240

Red: 217 / Green: 132 / Blue: 240

HSL

287°, 78%, 73%

Hue: 287° / Saturation: 78% / Lightness: 73%

CMYK

10%, 45%, 0%, 6%

Cyan: 10% / Magenta: 45% / Yellow: 0% / Key: 6%

What color is #D984F0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D984F0 to RGB:

rgb(217, 132, 240)HEX to RGB Converter →

HEX to HSL

Convert #D984F0 to HSL:

hsl(287, 78%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #D984F0 to CMYK:

cmyk(10%, 45%, 0%, 6%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #D984F0 has RGB (217, 132, 240) and HSL (287°, 78%, 73%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D984F0 is #9CF084, creating high-contrast pairings. For softer combinations, try analogous colors like #A384F0.

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

Contrast with #D984F0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D984F0?

#D984F0 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D984F0?

#D984F0 in RGB is (217, 132, 240) - 217 red, 132 green, and 240 blue.

How to use #D984F0 in CSS?

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

What colors go well with #D984F0?

#9CF084 (complementary), #A384F0 (analogous), and #C340E7 (lighter shade) work well with #D984F0.