#D782F1 Color Information

Hex color code: #D782F1

#D782F1 is a dynamic magenta color. In RGB it is (215, 130, 241), and in HSL it is (286°, 80%, 73%). It is widely used in graphic design.

Try:
Color NameViolet
HEX
#D782F1
RGB
215, 130, 241
HSL
286°, 80%, 73%
CMYK
11%, 46%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D782F1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 130, 241

Red: 215 / Green: 130 / Blue: 241

HSL

286°, 80%, 73%

Hue: 286° / Saturation: 80% / Lightness: 73%

CMYK

11%, 46%, 0%, 5%

Cyan: 11% / Magenta: 46% / Yellow: 0% / Key: 5%

What color is #D782F1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D782F1 to RGB:

rgb(215, 130, 241)HEX to RGB Converter →

HEX to HSL

Convert #D782F1 to HSL:

hsl(286, 80%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #D782F1 to CMYK:

cmyk(11%, 46%, 0%, 5%)Color Converter →

Color Meaning and Usage

#D782F1 is a eye-catching magenta color with RGB values of 215, 130, 241 and HSL of 286°, 80%, 73%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D782F1 is #9DF183, creating high-contrast pairings. For softer combinations, try analogous colors like #A083F1.

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

Contrast with #D782F1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D782F1?

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

What is the RGB value of #D782F1?

#D782F1 in RGB is (215, 130, 241) - 215 red, 130 green, and 241 blue.

How to use #D782F1 in CSS?

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

What colors go well with #D782F1?

#9DF183 (complementary), #A083F1 (analogous), and #C23EEA (lighter shade) work well with #D782F1.