#D2A1F2 Color Information

Hex color code: #D2A1F2

A light purple shade, #D2A1F2 appears as (210, 161, 242) in RGB and (276°, 76%, 79%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#D2A1F2
RGB
210, 161, 242
HSL
276°, 76%, 79%
CMYK
13%, 33%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2A1F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 161, 242

Red: 210 / Green: 161 / Blue: 242

HSL

276°, 76%, 79%

Hue: 276° / Saturation: 76% / Lightness: 79%

CMYK

13%, 33%, 0%, 5%

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

What color is #D2A1F2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2A1F2 to RGB:

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

HEX to HSL

Convert #D2A1F2 to HSL:

hsl(276, 76%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #D2A1F2 to CMYK:

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

Color Meaning and Usage

#D2A1F2 is a ethereal purple color with RGB values of 210, 161, 242 and HSL of 276°, 76%, 79%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2A1F2 is #C1F2A1, creating high-contrast pairings. For softer combinations, try analogous colors like #A9A1F2.

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

Contrast with #D2A1F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2A1F2?

#D2A1F2 is a ethereal purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D2A1F2?

#D2A1F2 in RGB is (210, 161, 242) - 210 red, 161 green, and 242 blue.

How to use #D2A1F2 in CSS?

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

What colors go well with #D2A1F2?

#C1F2A1 (complementary), #A9A1F2 (analogous), and #B15DE9 (lighter shade) work well with #D2A1F2.