#D4AFDA Color Information

Hex color code: #D4AFDA

The hex color #D4AFDA is a soft magenta with RGB values of (212, 175, 218) and HSL of (292°, 37%, 77%). It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#D4AFDA
RGB
212, 175, 218
HSL
292°, 37%, 77%
CMYK
3%, 20%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4AFDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 175, 218

Red: 212 / Green: 175 / Blue: 218

HSL

292°, 37%, 77%

Hue: 292° / Saturation: 37% / Lightness: 77%

CMYK

3%, 20%, 0%, 15%

Cyan: 3% / Magenta: 20% / Yellow: 0% / Key: 15%

What color is #D4AFDA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4AFDA to RGB:

rgb(212, 175, 218)HEX to RGB Converter →

HEX to HSL

Convert #D4AFDA to HSL:

hsl(292, 37%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #D4AFDA to CMYK:

cmyk(3%, 20%, 0%, 15%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #D4AFDA has RGB (212, 175, 218) and HSL (292°, 37%, 77%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4AFDA is #B4DAAF, creating high-contrast pairings. For softer combinations, try analogous colors like #BFAFDA.

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

Contrast with #D4AFDA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4AFDA?

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

What is the RGB value of #D4AFDA?

#D4AFDA in RGB is (212, 175, 218) - 212 red, 175 green, and 218 blue.

How to use #D4AFDA in CSS?

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

What colors go well with #D4AFDA?

#B4DAAF (complementary), #BFAFDA (analogous), and #B87AC2 (lighter shade) work well with #D4AFDA.