#D998EC Color Information

Hex color code: #D998EC

#D998EC is a airy magenta color. In RGB it is (217, 152, 236), and in HSL it is (286°, 69%, 76%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#D998EC
RGB
217, 152, 236
HSL
286°, 69%, 76%
CMYK
8%, 36%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D998EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 152, 236

Red: 217 / Green: 152 / Blue: 236

HSL

286°, 69%, 76%

Hue: 286° / Saturation: 69% / Lightness: 76%

CMYK

8%, 36%, 0%, 7%

Cyan: 8% / Magenta: 36% / Yellow: 0% / Key: 7%

What color is #D998EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D998EC to RGB:

rgb(217, 152, 236)HEX to RGB Converter →

HEX to HSL

Convert #D998EC to HSL:

hsl(286, 69%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #D998EC to CMYK:

cmyk(8%, 36%, 0%, 7%)Color Converter →

Color Meaning and Usage

#D998EC is a light magenta color with RGB values of 217, 152, 236 and HSL of 286°, 69%, 76%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D998EC is #ABEC98, creating high-contrast pairings. For softer combinations, try analogous colors like #AE98EC.

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

Contrast with #D998EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D998EC?

#D998EC is a light magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D998EC?

#D998EC in RGB is (217, 152, 236) - 217 red, 152 green, and 236 blue.

How to use #D998EC in CSS?

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

What colors go well with #D998EC?

#ABEC98 (complementary), #AE98EC (analogous), and #C057E0 (lighter shade) work well with #D998EC.