#D2A5DF Color Information

Hex color code: #D2A5DF

The hex color #D2A5DF is a airy magenta with RGB values of (210, 165, 223) and HSL of (287°, 48%, 76%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#D2A5DF
RGB
210, 165, 223
HSL
287°, 48%, 76%
CMYK
6%, 26%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2A5DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 165, 223

Red: 210 / Green: 165 / Blue: 223

HSL

287°, 48%, 76%

Hue: 287° / Saturation: 48% / Lightness: 76%

CMYK

6%, 26%, 0%, 13%

Cyan: 6% / Magenta: 26% / Yellow: 0% / Key: 13%

What color is #D2A5DF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2A5DF to RGB:

rgb(210, 165, 223)HEX to RGB Converter →

HEX to HSL

Convert #D2A5DF to HSL:

hsl(287, 48%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #D2A5DF to CMYK:

cmyk(6%, 26%, 0%, 13%)Color Converter →

Color Meaning and Usage

#D2A5DF is a soft magenta color with RGB values of 210, 165, 223 and HSL of 287°, 48%, 76%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2A5DF is #B1DFA4, creating high-contrast pairings. For softer combinations, try analogous colors like #B5A4DF.

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

Contrast with #D2A5DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2A5DF?

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

What is the RGB value of #D2A5DF?

#D2A5DF in RGB is (210, 165, 223) - 210 red, 165 green, and 223 blue.

How to use #D2A5DF in CSS?

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

What colors go well with #D2A5DF?

#B1DFA4 (complementary), #B5A4DF (analogous), and #B76CCB (lighter shade) work well with #D2A5DF.