#D7AFE1 Color Information

Hex color code: #D7AFE1

A light magenta shade, #D7AFE1 appears as (215, 175, 225) in RGB and (288°, 45%, 78%) in HSL. It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#D7AFE1
RGB
215, 175, 225
HSL
288°, 45%, 78%
CMYK
4%, 22%, 0%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7AFE1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 175, 225

Red: 215 / Green: 175 / Blue: 225

HSL

288°, 45%, 78%

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

CMYK

4%, 22%, 0%, 12%

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

What color is #D7AFE1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7AFE1 to RGB:

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

HEX to HSL

Convert #D7AFE1 to HSL:

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

HEX to CMYK

Convert #D7AFE1 to CMYK:

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

Color Meaning and Usage

#D7AFE1 is a airy magenta color with RGB values of 215, 175, 225 and HSL of 288°, 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 #D7AFE1 is #B8E0AE, creating high-contrast pairings. For softer combinations, try analogous colors like #BDAEE0.

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

Contrast with #D7AFE1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7AFE1?

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

What is the RGB value of #D7AFE1?

#D7AFE1 in RGB is (215, 175, 225) - 215 red, 175 green, and 225 blue.

How to use #D7AFE1 in CSS?

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

What colors go well with #D7AFE1?

#B8E0AE (complementary), #BDAEE0 (analogous), and #BA76CB (lighter shade) work well with #D7AFE1.