#D97BE5 Color Information

Hex color code: #D97BE5

#D97BE5 is a understated magenta color. In RGB it is (217, 123, 229), and in HSL it is (293°, 67%, 69%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#D97BE5
RGB
217, 123, 229
HSL
293°, 67%, 69%
CMYK
5%, 46%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D97BE5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 123, 229

Red: 217 / Green: 123 / Blue: 229

HSL

293°, 67%, 69%

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

CMYK

5%, 46%, 0%, 10%

Cyan: 5% / Magenta: 46% / Yellow: 0% / Key: 10%

What color is #D97BE5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D97BE5 to RGB:

rgb(217, 123, 229)HEX to RGB Converter →

HEX to HSL

Convert #D97BE5 to HSL:

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

HEX to CMYK

Convert #D97BE5 to CMYK:

cmyk(5%, 46%, 0%, 10%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #D97BE5 has RGB (217, 123, 229) and HSL (293°, 67%, 69%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D97BE5 is #87E57B, creating high-contrast pairings. For softer combinations, try analogous colors like #A47BE5.

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

Contrast with #D97BE5

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 #D97BE5?

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

What is the RGB value of #D97BE5?

#D97BE5 in RGB is (217, 123, 229) - 217 red, 123 green, and 229 blue.

How to use #D97BE5 in CSS?

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

What colors go well with #D97BE5?

#87E57B (complementary), #A47BE5 (analogous), and #C63BD8 (lighter shade) work well with #D97BE5.