#D98CD4 Color Information

Hex color code: #D98CD4

#D98CD4 is a understated magenta color. In RGB it is (217, 140, 212), and in HSL it is (304°, 50%, 70%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#D98CD4
RGB
217, 140, 212
HSL
304°, 50%, 70%
CMYK
0%, 35%, 2%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D98CD4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 140, 212

Red: 217 / Green: 140 / Blue: 212

HSL

304°, 50%, 70%

Hue: 304° / Saturation: 50% / Lightness: 70%

CMYK

0%, 35%, 2%, 15%

Cyan: 0% / Magenta: 35% / Yellow: 2% / Key: 15%

What color is #D98CD4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D98CD4 to RGB:

rgb(217, 140, 212)HEX to RGB Converter →

HEX to HSL

Convert #D98CD4 to HSL:

hsl(304, 50%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D98CD4 to CMYK:

cmyk(0%, 35%, 2%, 15%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #D98CD4 has RGB (217, 140, 212) and HSL (304°, 50%, 70%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D98CD4 is #8CD991, creating high-contrast pairings. For softer combinations, try analogous colors like #B88CD9.

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

Contrast with #D98CD4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D98CD4?

#D98CD4 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D98CD4?

#D98CD4 in RGB is (217, 140, 212) - 217 red, 140 green, and 212 blue.

How to use #D98CD4 in CSS?

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

What colors go well with #D98CD4?

#8CD991 (complementary), #B88CD9 (analogous), and #C653BE (lighter shade) work well with #D98CD4.