#D98ECF Color Information

Hex color code: #D98ECF

A neutral magenta shade, #D98ECF appears as (217, 142, 207) in RGB and (308°, 50%, 70%) in HSL. It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#D98ECF
RGB
217, 142, 207
HSL
308°, 50%, 70%
CMYK
0%, 35%, 5%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D98ECF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 142, 207

Red: 217 / Green: 142 / Blue: 207

HSL

308°, 50%, 70%

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

CMYK

0%, 35%, 5%, 15%

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

What color is #D98ECF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D98ECF to RGB:

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

HEX to HSL

Convert #D98ECF to HSL:

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

HEX to CMYK

Convert #D98ECF to CMYK:

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

Color Meaning and Usage

A neutral magenta tone, #D98ECF has RGB (217, 142, 207) and HSL (308°, 50%, 70%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D98ECF is #8CD996, creating high-contrast pairings. For softer combinations, try analogous colors like #BD8CD9.

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

Contrast with #D98ECF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D98ECF?

#D98ECF is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D98ECF?

#D98ECF in RGB is (217, 142, 207) - 217 red, 142 green, and 207 blue.

How to use #D98ECF in CSS?

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

What colors go well with #D98ECF?

#8CD996 (complementary), #BD8CD9 (analogous), and #C653B6 (lighter shade) work well with #D98ECF.