#D96FEC Color Information

Hex color code: #D96FEC

#D96FEC is a vivid magenta color. In RGB it is (217, 111, 236), and in HSL it is (291°, 77%, 68%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D96FEC
RGB
217, 111, 236
HSL
291°, 77%, 68%
CMYK
8%, 53%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D96FEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 111, 236

Red: 217 / Green: 111 / Blue: 236

HSL

291°, 77%, 68%

Hue: 291° / Saturation: 77% / Lightness: 68%

CMYK

8%, 53%, 0%, 7%

Cyan: 8% / Magenta: 53% / Yellow: 0% / Key: 7%

What color is #D96FEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D96FEC to RGB:

rgb(217, 111, 236)HEX to RGB Converter →

HEX to HSL

Convert #D96FEC to HSL:

hsl(291, 77%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #D96FEC to CMYK:

cmyk(8%, 53%, 0%, 7%)Color Converter →

Color Meaning and Usage

#D96FEC is a eye-catching magenta color with RGB values of 217, 111, 236 and HSL of 291°, 77%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D96FEC is #81EC6F, creating high-contrast pairings. For softer combinations, try analogous colors like #9B6FEC.

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

Contrast with #D96FEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D96FEC?

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

What is the RGB value of #D96FEC?

#D96FEC in RGB is (217, 111, 236) - 217 red, 111 green, and 236 blue.

How to use #D96FEC in CSS?

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

What colors go well with #D96FEC?

#81EC6F (complementary), #9B6FEC (analogous), and #C82BE3 (lighter shade) work well with #D96FEC.