#D97AE9 Color Information

Hex color code: #D97AE9

A vivid magenta shade, #D97AE9 appears as (217, 122, 233) in RGB and (291°, 72%, 70%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D97AE9
RGB
217, 122, 233
HSL
291°, 72%, 70%
CMYK
7%, 48%, 0%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D97AE9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 122, 233

Red: 217 / Green: 122 / Blue: 233

HSL

291°, 72%, 70%

Hue: 291° / Saturation: 72% / Lightness: 70%

CMYK

7%, 48%, 0%, 9%

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

What color is #D97AE9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D97AE9 to RGB:

rgb(217, 122, 233)HEX to RGB Converter →

HEX to HSL

Convert #D97AE9 to HSL:

hsl(291, 72%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D97AE9 to CMYK:

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

Color Meaning and Usage

A striking magenta tone, #D97AE9 has RGB (217, 122, 233) and HSL (291°, 72%, 70%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D97AE9 is #8CEA7B, creating high-contrast pairings. For softer combinations, try analogous colors like #A27BEA.

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

Contrast with #D97AE9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D97AE9?

#D97AE9 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D97AE9?

#D97AE9 in RGB is (217, 122, 233) - 217 red, 122 green, and 233 blue.

How to use #D97AE9 in CSS?

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

What colors go well with #D97AE9?

#8CEA7B (complementary), #A27BEA (analogous), and #C63ADF (lighter shade) work well with #D97AE9.