#D4AFE1 Color Information

Hex color code: #D4AFE1

A airy purple shade, #D4AFE1 appears as (212, 175, 225) in RGB and (284°, 45%, 78%) in HSL. It is widely used in graphic design.

Try:
Color NamePlum
HEX
#D4AFE1
RGB
212, 175, 225
HSL
284°, 45%, 78%
CMYK
6%, 22%, 0%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4AFE1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 175, 225

Red: 212 / Green: 175 / Blue: 225

HSL

284°, 45%, 78%

Hue: 284° / Saturation: 45% / Lightness: 78%

CMYK

6%, 22%, 0%, 12%

Cyan: 6% / Magenta: 22% / Yellow: 0% / Key: 12%

What color is #D4AFE1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4AFE1 to RGB:

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

HEX to HSL

Convert #D4AFE1 to HSL:

hsl(284, 45%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #D4AFE1 to CMYK:

cmyk(6%, 22%, 0%, 12%)Color Converter →

Color Meaning and Usage

#D4AFE1 is a airy purple color with RGB values of 212, 175, 225 and HSL of 284°, 45%, 78%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4AFE1 is #BBE0AE, creating high-contrast pairings. For softer combinations, try analogous colors like #B9AEE0.

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

Contrast with #D4AFE1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4AFE1?

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

What is the RGB value of #D4AFE1?

#D4AFE1 in RGB is (212, 175, 225) - 212 red, 175 green, and 225 blue.

How to use #D4AFE1 in CSS?

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

What colors go well with #D4AFE1?

#BBE0AE (complementary), #B9AEE0 (analogous), and #B476CB (lighter shade) work well with #D4AFE1.