#D2A1F5 Color Information

Hex color code: #D2A1F5

The hex color #D2A1F5 is a airy purple with RGB values of (210, 161, 245) and HSL of (275°, 81%, 80%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#D2A1F5
RGB
210, 161, 245
HSL
275°, 81%, 80%
CMYK
14%, 34%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2A1F5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 161, 245

Red: 210 / Green: 161 / Blue: 245

HSL

275°, 81%, 80%

Hue: 275° / Saturation: 81% / Lightness: 80%

CMYK

14%, 34%, 0%, 4%

Cyan: 14% / Magenta: 34% / Yellow: 0% / Key: 4%

What color is #D2A1F5?

#D2A1F5 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2A1F5 to RGB:

rgb(210, 161, 245)HEX to RGB Converter →

HEX to HSL

Convert #D2A1F5 to HSL:

hsl(275, 81%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #D2A1F5 to CMYK:

cmyk(14%, 34%, 0%, 4%)Color Converter →

Color Meaning and Usage

A soft purple tone, #D2A1F5 has RGB (210, 161, 245) and HSL (275°, 81%, 80%). Known for evoking energy and excitement, this highly saturated hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2A1F5 is #C5F5A3, creating high-contrast pairings. For softer combinations, try analogous colors like #AAA3F5.

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

Contrast with #D2A1F5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2A1F5?

#D2A1F5 is a soft purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D2A1F5?

#D2A1F5 in RGB is (210, 161, 245) - 210 red, 161 green, and 245 blue.

How to use #D2A1F5 in CSS?

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

What colors go well with #D2A1F5?

#C5F5A3 (complementary), #AAA3F5 (analogous), and #B25DEE (lighter shade) work well with #D2A1F5.