#D9A2F1 Color Information

Hex color code: #D9A2F1

A light purple shade, #D9A2F1 appears as (217, 162, 241) in RGB and (282°, 74%, 79%) in HSL. It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#D9A2F1
RGB
217, 162, 241
HSL
282°, 74%, 79%
CMYK
10%, 33%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D9A2F1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 162, 241

Red: 217 / Green: 162 / Blue: 241

HSL

282°, 74%, 79%

Hue: 282° / Saturation: 74% / Lightness: 79%

CMYK

10%, 33%, 0%, 5%

Cyan: 10% / Magenta: 33% / Yellow: 0% / Key: 5%

What color is #D9A2F1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D9A2F1 to RGB:

rgb(217, 162, 241)HEX to RGB Converter →

HEX to HSL

Convert #D9A2F1 to HSL:

hsl(282, 74%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #D9A2F1 to CMYK:

cmyk(10%, 33%, 0%, 5%)Color Converter →

Color Meaning and Usage

A airy purple tone, #D9A2F1 has RGB (217, 162, 241) and HSL (282°, 74%, 79%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D9A2F1 is #BAF1A2, creating high-contrast pairings. For softer combinations, try analogous colors like #B2A2F1.

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

Contrast with #D9A2F1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D9A2F1?

#D9A2F1 is a airy purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D9A2F1?

#D9A2F1 in RGB is (217, 162, 241) - 217 red, 162 green, and 241 blue.

How to use #D9A2F1 in CSS?

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

What colors go well with #D9A2F1?

#BAF1A2 (complementary), #B2A2F1 (analogous), and #BE5FE7 (lighter shade) work well with #D9A2F1.