#D931DF Color Information

Hex color code: #D931DF

The hex color #D931DF is a vivid magenta with RGB values of (217, 49, 223) and HSL of (298°, 73%, 53%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#D931DF
RGB
217, 49, 223
HSL
298°, 73%, 53%
CMYK
3%, 78%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D931DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 49, 223

Red: 217 / Green: 49 / Blue: 223

HSL

298°, 73%, 53%

Hue: 298° / Saturation: 73% / Lightness: 53%

CMYK

3%, 78%, 0%, 13%

Cyan: 3% / Magenta: 78% / Yellow: 0% / Key: 13%

What color is #D931DF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D931DF to RGB:

rgb(217, 49, 223)HEX to RGB Converter →

HEX to HSL

Convert #D931DF to HSL:

hsl(298, 73%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #D931DF to CMYK:

cmyk(3%, 78%, 0%, 13%)Color Converter →

Color Meaning and Usage

#D931DF is a eye-catching magenta color with RGB values of 217, 49, 223 and HSL of 298°, 73%, 53%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D931DF is #35DF30, creating high-contrast pairings. For softer combinations, try analogous colors like #8130DF.

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

Contrast with #D931DF

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

Contrast Ratio: 5.46:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D931DF?

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

What is the RGB value of #D931DF?

#D931DF in RGB is (217, 49, 223) - 217 red, 49 green, and 223 blue.

How to use #D931DF in CSS?

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

What colors go well with #D931DF?

#35DF30 (complementary), #8130DF (analogous), and #A31AA8 (lighter shade) work well with #D931DF.