#D97CEE Color Information

Hex color code: #D97CEE

A vivid magenta shade, #D97CEE appears as (217, 124, 238) in RGB and (289°, 77%, 71%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D97CEE
RGB
217, 124, 238
HSL
289°, 77%, 71%
CMYK
9%, 48%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D97CEE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 124, 238

Red: 217 / Green: 124 / Blue: 238

HSL

289°, 77%, 71%

Hue: 289° / Saturation: 77% / Lightness: 71%

CMYK

9%, 48%, 0%, 7%

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

What color is #D97CEE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D97CEE to RGB:

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

HEX to HSL

Convert #D97CEE to HSL:

hsl(289, 77%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #D97CEE to CMYK:

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

Color Meaning and Usage

A eye-catching magenta tone, #D97CEE has RGB (217, 124, 238) and HSL (289°, 77%, 71%). 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 #D97CEE is #91EE7C, creating high-contrast pairings. For softer combinations, try analogous colors like #A07CEE.

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

Contrast with #D97CEE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D97CEE?

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

What is the RGB value of #D97CEE?

#D97CEE in RGB is (217, 124, 238) - 217 red, 124 green, and 238 blue.

How to use #D97CEE in CSS?

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

What colors go well with #D97CEE?

#91EE7C (complementary), #A07CEE (analogous), and #C638E5 (lighter shade) work well with #D97CEE.