#D1A7DC Color Information

Hex color code: #D1A7DC

#D1A7DC is a airy magenta color. In RGB it is (209, 167, 220), and in HSL it is (288°, 43%, 76%). It is popular in mobile app design.

Try:
Color NamePlum
HEX
#D1A7DC
RGB
209, 167, 220
HSL
288°, 43%, 76%
CMYK
5%, 24%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D1A7DC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 167, 220

Red: 209 / Green: 167 / Blue: 220

HSL

288°, 43%, 76%

Hue: 288° / Saturation: 43% / Lightness: 76%

CMYK

5%, 24%, 0%, 14%

Cyan: 5% / Magenta: 24% / Yellow: 0% / Key: 14%

What color is #D1A7DC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D1A7DC to RGB:

rgb(209, 167, 220)HEX to RGB Converter →

HEX to HSL

Convert #D1A7DC to HSL:

hsl(288, 43%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #D1A7DC to CMYK:

cmyk(5%, 24%, 0%, 14%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #D1A7DC has RGB (209, 167, 220) and HSL (288°, 43%, 76%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D1A7DC is #B2DCA7, creating high-contrast pairings. For softer combinations, try analogous colors like #B7A7DC.

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

Contrast with #D1A7DC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D1A7DC?

#D1A7DC is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D1A7DC?

#D1A7DC in RGB is (209, 167, 220) - 209 red, 167 green, and 220 blue.

How to use #D1A7DC in CSS?

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

What colors go well with #D1A7DC?

#B2DCA7 (complementary), #B7A7DC (analogous), and #B571C6 (lighter shade) work well with #D1A7DC.