#D788E9 Color Information

Hex color code: #D788E9

The hex color #D788E9 is a subtle magenta with RGB values of (215, 136, 233) and HSL of (289°, 69%, 72%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#D788E9
RGB
215, 136, 233
HSL
289°, 69%, 72%
CMYK
8%, 42%, 0%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D788E9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 136, 233

Red: 215 / Green: 136 / Blue: 233

HSL

289°, 69%, 72%

Hue: 289° / Saturation: 69% / Lightness: 72%

CMYK

8%, 42%, 0%, 9%

Cyan: 8% / Magenta: 42% / Yellow: 0% / Key: 9%

What color is #D788E9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D788E9 to RGB:

rgb(215, 136, 233)HEX to RGB Converter →

HEX to HSL

Convert #D788E9 to HSL:

hsl(289, 69%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #D788E9 to CMYK:

cmyk(8%, 42%, 0%, 9%)Color Converter →

Color Meaning and Usage

#D788E9 is a subtle magenta color with RGB values of 215, 136, 233 and HSL of 289°, 69%, 72%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D788E9 is #98E986, creating high-contrast pairings. For softer combinations, try analogous colors like #A686E9.

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

Contrast with #D788E9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D788E9?

#D788E9 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D788E9?

#D788E9 in RGB is (215, 136, 233) - 215 red, 136 green, and 233 blue.

How to use #D788E9 in CSS?

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

What colors go well with #D788E9?

#98E986 (complementary), #A686E9 (analogous), and #C146DD (lighter shade) work well with #D788E9.