#D98AEA Color Information

Hex color code: #D98AEA

A neutral magenta shade, #D98AEA appears as (217, 138, 234) in RGB and (289°, 70%, 73%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D98AEA
RGB
217, 138, 234
HSL
289°, 70%, 73%
CMYK
7%, 41%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D98AEA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 138, 234

Red: 217 / Green: 138 / Blue: 234

HSL

289°, 70%, 73%

Hue: 289° / Saturation: 70% / Lightness: 73%

CMYK

7%, 41%, 0%, 8%

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

What color is #D98AEA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D98AEA to RGB:

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

HEX to HSL

Convert #D98AEA to HSL:

hsl(289, 70%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #D98AEA to CMYK:

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

Color Meaning and Usage

A muted magenta tone, #D98AEA has RGB (217, 138, 234) and HSL (289°, 70%, 73%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D98AEA is #9CEA8A, creating high-contrast pairings. For softer combinations, try analogous colors like #A88AEA.

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

Contrast with #D98AEA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D98AEA?

#D98AEA is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D98AEA?

#D98AEA in RGB is (217, 138, 234) - 217 red, 138 green, and 234 blue.

How to use #D98AEA in CSS?

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

What colors go well with #D98AEA?

#9CEA8A (complementary), #A88AEA (analogous), and #C349DF (lighter shade) work well with #D98AEA.