#D98BEE Color Information

Hex color code: #D98BEE

A dynamic magenta shade, #D98BEE appears as (217, 139, 238) in RGB and (287°, 74%, 74%) in HSL. It is typically applied in digital products.

Try:
Color NameViolet
HEX
#D98BEE
RGB
217, 139, 238
HSL
287°, 74%, 74%
CMYK
9%, 42%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D98BEE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 139, 238

Red: 217 / Green: 139 / Blue: 238

HSL

287°, 74%, 74%

Hue: 287° / Saturation: 74% / Lightness: 74%

CMYK

9%, 42%, 0%, 7%

Cyan: 9% / Magenta: 42% / Yellow: 0% / Key: 7%

What color is #D98BEE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D98BEE to RGB:

rgb(217, 139, 238)HEX to RGB Converter →

HEX to HSL

Convert #D98BEE to HSL:

hsl(287, 74%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #D98BEE to CMYK:

cmyk(9%, 42%, 0%, 7%)Color Converter →

Color Meaning and Usage

#D98BEE is a eye-catching magenta color with RGB values of 217, 139, 238 and HSL of 287°, 74%, 74%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D98BEE is #A1EE8C, creating high-contrast pairings. For softer combinations, try analogous colors like #A78CEE.

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

Contrast with #D98BEE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D98BEE?

#D98BEE is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D98BEE?

#D98BEE in RGB is (217, 139, 238) - 217 red, 139 green, and 238 blue.

How to use #D98BEE in CSS?

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

What colors go well with #D98BEE?

#A1EE8C (complementary), #A78CEE (analogous), and #C249E4 (lighter shade) work well with #D98BEE.