#D728D7 Color Information

Hex color code: #D728D7

The hex color #D728D7 is a understated magenta with RGB values of (215, 40, 215) and HSL of (300°, 69%, 50%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#D728D7
RGB
215, 40, 215
HSL
300°, 69%, 50%
CMYK
0%, 81%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D728D7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 40, 215

Red: 215 / Green: 40 / Blue: 215

HSL

300°, 69%, 50%

Hue: 300° / Saturation: 69% / Lightness: 50%

CMYK

0%, 81%, 0%, 16%

Cyan: 0% / Magenta: 81% / Yellow: 0% / Key: 16%

What color is #D728D7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D728D7 to RGB:

rgb(215, 40, 215)HEX to RGB Converter →

HEX to HSL

Convert #D728D7 to HSL:

hsl(300, 69%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D728D7 to CMYK:

cmyk(0%, 81%, 0%, 16%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #D728D7 has RGB (215, 40, 215) and HSL (300°, 69%, 50%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D728D7 is #28D728, creating high-contrast pairings. For softer combinations, try analogous colors like #8028D7.

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

Contrast with #D728D7

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

Contrast Ratio: 5.17:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D728D7?

#D728D7 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D728D7?

#D728D7 in RGB is (215, 40, 215) - 215 red, 40 green, and 215 blue.

How to use #D728D7 in CSS?

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

What colors go well with #D728D7?

#28D728 (complementary), #8028D7 (analogous), and #971C97 (lighter shade) work well with #D728D7.