#D945D6 Color Information

Hex color code: #D945D6

#D945D6 is a understated magenta color. In RGB it is (217, 69, 214), and in HSL it is (301°, 66%, 56%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#D945D6
RGB
217, 69, 214
HSL
301°, 66%, 56%
CMYK
0%, 68%, 1%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D945D6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 69, 214

Red: 217 / Green: 69 / Blue: 214

HSL

301°, 66%, 56%

Hue: 301° / Saturation: 66% / Lightness: 56%

CMYK

0%, 68%, 1%, 15%

Cyan: 0% / Magenta: 68% / Yellow: 1% / Key: 15%

What color is #D945D6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D945D6 to RGB:

rgb(217, 69, 214)HEX to RGB Converter →

HEX to HSL

Convert #D945D6 to HSL:

hsl(301, 66%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #D945D6 to CMYK:

cmyk(0%, 68%, 1%, 15%)Color Converter →

Color Meaning and Usage

#D945D6 is a subtle magenta color with RGB values of 217, 69, 214 and HSL of 301°, 66%, 56%. 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 #D945D6 is #45D947, creating high-contrast pairings. For softer combinations, try analogous colors like #9145D9.

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

Contrast with #D945D6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D945D6?

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

What is the RGB value of #D945D6?

#D945D6 in RGB is (217, 69, 214) - 217 red, 69 green, and 214 blue.

How to use #D945D6 in CSS?

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

What colors go well with #D945D6?

#45D947 (complementary), #9145D9 (analogous), and #AE24AB (lighter shade) work well with #D945D6.