#D97AE6 Color Information

Hex color code: #D97AE6

The hex color #D97AE6 is a neutral magenta with RGB values of (217, 122, 230) and HSL of (293°, 68%, 69%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D97AE6
RGB
217, 122, 230
HSL
293°, 68%, 69%
CMYK
6%, 47%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D97AE6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 122, 230

Red: 217 / Green: 122 / Blue: 230

HSL

293°, 68%, 69%

Hue: 293° / Saturation: 68% / Lightness: 69%

CMYK

6%, 47%, 0%, 10%

Cyan: 6% / Magenta: 47% / Yellow: 0% / Key: 10%

What color is #D97AE6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D97AE6 to RGB:

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

HEX to HSL

Convert #D97AE6 to HSL:

hsl(293, 68%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D97AE6 to CMYK:

cmyk(6%, 47%, 0%, 10%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #D97AE6 has RGB (217, 122, 230) and HSL (293°, 68%, 69%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D97AE6 is #87E67A, creating high-contrast pairings. For softer combinations, try analogous colors like #A37AE6.

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

Contrast with #D97AE6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D97AE6?

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

What is the RGB value of #D97AE6?

#D97AE6 in RGB is (217, 122, 230) - 217 red, 122 green, and 230 blue.

How to use #D97AE6 in CSS?

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

What colors go well with #D97AE6?

#87E67A (complementary), #A37AE6 (analogous), and #C73AD9 (lighter shade) work well with #D97AE6.