#D98AD4 Color Information

Hex color code: #D98AD4

A balanced magenta shade, #D98AD4 appears as (217, 138, 212) in RGB and (304°, 51%, 70%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#D98AD4
RGB
217, 138, 212
HSL
304°, 51%, 70%
CMYK
0%, 36%, 2%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D98AD4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 138, 212

Red: 217 / Green: 138 / Blue: 212

HSL

304°, 51%, 70%

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

CMYK

0%, 36%, 2%, 15%

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

What color is #D98AD4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D98AD4 to RGB:

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

HEX to HSL

Convert #D98AD4 to HSL:

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

HEX to CMYK

Convert #D98AD4 to CMYK:

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

Color Meaning and Usage

#D98AD4 is a balanced magenta color with RGB values of 217, 138, 212 and HSL of 304°, 51%, 70%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D98AD4 is #8BDA91, creating high-contrast pairings. For softer combinations, try analogous colors like #B88BDA.

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

Contrast with #D98AD4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D98AD4?

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

What is the RGB value of #D98AD4?

#D98AD4 in RGB is (217, 138, 212) - 217 red, 138 green, and 212 blue.

How to use #D98AD4 in CSS?

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

What colors go well with #D98AD4?

#8BDA91 (complementary), #B88BDA (analogous), and #C752BF (lighter shade) work well with #D98AD4.