#D47DEF Color Information

Hex color code: #D47DEF

The hex color #D47DEF is a dynamic magenta with RGB values of (212, 125, 239) and HSL of (286°, 78%, 71%). It is typically applied in digital products.

Try:
Color NameViolet
HEX
#D47DEF
RGB
212, 125, 239
HSL
286°, 78%, 71%
CMYK
11%, 48%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D47DEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 125, 239

Red: 212 / Green: 125 / Blue: 239

HSL

286°, 78%, 71%

Hue: 286° / Saturation: 78% / Lightness: 71%

CMYK

11%, 48%, 0%, 6%

Cyan: 11% / Magenta: 48% / Yellow: 0% / Key: 6%

What color is #D47DEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D47DEF to RGB:

rgb(212, 125, 239)HEX to RGB Converter →

HEX to HSL

Convert #D47DEF to HSL:

hsl(286, 78%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #D47DEF to CMYK:

cmyk(11%, 48%, 0%, 6%)Color Converter →

Color Meaning and Usage

#D47DEF is a dynamic magenta color with RGB values of 212, 125, 239 and HSL of 286°, 78%, 71%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D47DEF is #96EF7B, creating high-contrast pairings. For softer combinations, try analogous colors like #9A7BEF.

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

Contrast with #D47DEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D47DEF?

#D47DEF is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D47DEF?

#D47DEF in RGB is (212, 125, 239) - 212 red, 125 green, and 239 blue.

How to use #D47DEF in CSS?

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

What colors go well with #D47DEF?

#96EF7B (complementary), #9A7BEF (analogous), and #BD37E6 (lighter shade) work well with #D47DEF.