#D97FD6 Color Information

Hex color code: #D97FD6

A muted magenta shade, #D97FD6 appears as (217, 127, 214) in RGB and (302°, 54%, 67%) in HSL. It is typically applied in digital products.

Try:
Color NameViolet
HEX
#D97FD6
RGB
217, 127, 214
HSL
302°, 54%, 67%
CMYK
0%, 41%, 1%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D97FD6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 127, 214

Red: 217 / Green: 127 / Blue: 214

HSL

302°, 54%, 67%

Hue: 302° / Saturation: 54% / Lightness: 67%

CMYK

0%, 41%, 1%, 15%

Cyan: 0% / Magenta: 41% / Yellow: 1% / Key: 15%

What color is #D97FD6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D97FD6 to RGB:

rgb(217, 127, 214)HEX to RGB Converter →

HEX to HSL

Convert #D97FD6 to HSL:

hsl(302, 54%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #D97FD6 to CMYK:

cmyk(0%, 41%, 1%, 15%)Color Converter →

Color Meaning and Usage

#D97FD6 is a understated magenta color with RGB values of 217, 127, 214 and HSL of 302°, 54%, 67%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D97FD6 is #7DD880, creating high-contrast pairings. For softer combinations, try analogous colors like #AE7DD8.

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

Contrast with #D97FD6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D97FD6?

#D97FD6 is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D97FD6?

#D97FD6 in RGB is (217, 127, 214) - 217 red, 127 green, and 214 blue.

How to use #D97FD6 in CSS?

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

What colors go well with #D97FD6?

#7DD880 (complementary), #AE7DD8 (analogous), and #C743C2 (lighter shade) work well with #D97FD6.