#D791F2 Color Information

Hex color code: #D791F2

A ethereal purple shade, #D791F2 appears as (215, 145, 242) in RGB and (283°, 79%, 76%) in HSL. It is typically applied in digital products.

Try:
Color NamePlum
HEX
#D791F2
RGB
215, 145, 242
HSL
283°, 79%, 76%
CMYK
11%, 40%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D791F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 145, 242

Red: 215 / Green: 145 / Blue: 242

HSL

283°, 79%, 76%

Hue: 283° / Saturation: 79% / Lightness: 76%

CMYK

11%, 40%, 0%, 5%

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

What color is #D791F2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D791F2 to RGB:

rgb(215, 145, 242)HEX to RGB Converter →

HEX to HSL

Convert #D791F2 to HSL:

hsl(283, 79%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #D791F2 to CMYK:

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

Color Meaning and Usage

#D791F2 is a airy purple color with RGB values of 215, 145, 242 and HSL of 283°, 79%, 76%. 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 #D791F2 is #ADF291, creating high-contrast pairings. For softer combinations, try analogous colors like #A691F2.

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

Contrast with #D791F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D791F2?

#D791F2 is a airy purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D791F2?

#D791F2 in RGB is (215, 145, 242) - 215 red, 145 green, and 242 blue.

How to use #D791F2 in CSS?

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

What colors go well with #D791F2?

#ADF291 (complementary), #A691F2 (analogous), and #BE4DEA (lighter shade) work well with #D791F2.