#D371F4 Color Information

Hex color code: #D371F4

A vivid magenta shade, #D371F4 appears as (211, 113, 244) in RGB and (285°, 86%, 70%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D371F4
RGB
211, 113, 244
HSL
285°, 86%, 70%
CMYK
14%, 54%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D371F4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 113, 244

Red: 211 / Green: 113 / Blue: 244

HSL

285°, 86%, 70%

Hue: 285° / Saturation: 86% / Lightness: 70%

CMYK

14%, 54%, 0%, 4%

Cyan: 14% / Magenta: 54% / Yellow: 0% / Key: 4%

What color is #D371F4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D371F4 to RGB:

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

HEX to HSL

Convert #D371F4 to HSL:

hsl(285, 86%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D371F4 to CMYK:

cmyk(14%, 54%, 0%, 4%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #D371F4 has RGB (211, 113, 244) and HSL (285°, 86%, 70%). 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 #D371F4 is #92F471, creating high-contrast pairings. For softer combinations, try analogous colors like #9271F4.

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

Contrast with #D371F4

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

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

What is the RGB value of #D371F4?

#D371F4 in RGB is (211, 113, 244) - 211 red, 113 green, and 244 blue.

How to use #D371F4 in CSS?

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

What colors go well with #D371F4?

#92F471 (complementary), #9271F4 (analogous), and #BE2AEF (lighter shade) work well with #D371F4.