#D798F3 Color Information

Hex color code: #D798F3

The hex color #D798F3 is a ethereal purple with RGB values of (215, 152, 243) and HSL of (282°, 79%, 77%). It is typically applied in digital products.

Try:
Color NamePlum
HEX
#D798F3
RGB
215, 152, 243
HSL
282°, 79%, 77%
CMYK
12%, 37%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D798F3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 152, 243

Red: 215 / Green: 152 / Blue: 243

HSL

282°, 79%, 77%

Hue: 282° / Saturation: 79% / Lightness: 77%

CMYK

12%, 37%, 0%, 5%

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

What color is #D798F3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D798F3 to RGB:

rgb(215, 152, 243)HEX to RGB Converter →

HEX to HSL

Convert #D798F3 to HSL:

hsl(282, 79%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #D798F3 to CMYK:

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

Color Meaning and Usage

#D798F3 is a airy purple color with RGB values of 215, 152, 243 and HSL of 282°, 79%, 77%. 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 #D798F3 is #B2F396, creating high-contrast pairings. For softer combinations, try analogous colors like #A996F3.

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

Contrast with #D798F3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D798F3?

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

What is the RGB value of #D798F3?

#D798F3 in RGB is (215, 152, 243) - 215 red, 152 green, and 243 blue.

How to use #D798F3 in CSS?

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

What colors go well with #D798F3?

#B2F396 (complementary), #A996F3 (analogous), and #BD52EB (lighter shade) work well with #D798F3.