#D371F1 Color Information

Hex color code: #D371F1

The hex color #D371F1 is a vivid magenta with RGB values of (211, 113, 241) and HSL of (286°, 82%, 69%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D371F1
RGB
211, 113, 241
HSL
286°, 82%, 69%
CMYK
12%, 53%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D371F1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 113, 241

Red: 211 / Green: 113 / Blue: 241

HSL

286°, 82%, 69%

Hue: 286° / Saturation: 82% / Lightness: 69%

CMYK

12%, 53%, 0%, 5%

Cyan: 12% / Magenta: 53% / Yellow: 0% / Key: 5%

What color is #D371F1?

#D371F1 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D371F1 to RGB:

rgb(211, 113, 241)HEX to RGB Converter →

HEX to HSL

Convert #D371F1 to HSL:

hsl(286, 82%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D371F1 to CMYK:

cmyk(12%, 53%, 0%, 5%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #D371F1 has RGB (211, 113, 241) and HSL (286°, 82%, 69%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D371F1 is #8DF16F, creating high-contrast pairings. For softer combinations, try analogous colors like #926FF1.

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

Contrast with #D371F1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D371F1?

#D371F1 is a vivid magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D371F1?

#D371F1 in RGB is (211, 113, 241) - 211 red, 113 green, and 241 blue.

How to use #D371F1 in CSS?

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

What colors go well with #D371F1?

#8DF16F (complementary), #926FF1 (analogous), and #BD2AEA (lighter shade) work well with #D371F1.