#D7AFE4 Color Information

Hex color code: #D7AFE4

A ethereal magenta shade, #D7AFE4 appears as (215, 175, 228) in RGB and (285°, 50%, 79%) in HSL. It is typically applied in digital products.

Try:
Color NamePlum
HEX
#D7AFE4
RGB
215, 175, 228
HSL
285°, 50%, 79%
CMYK
6%, 23%, 0%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7AFE4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 175, 228

Red: 215 / Green: 175 / Blue: 228

HSL

285°, 50%, 79%

Hue: 285° / Saturation: 50% / Lightness: 79%

CMYK

6%, 23%, 0%, 11%

Cyan: 6% / Magenta: 23% / Yellow: 0% / Key: 11%

What color is #D7AFE4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7AFE4 to RGB:

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

HEX to HSL

Convert #D7AFE4 to HSL:

hsl(285, 50%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #D7AFE4 to CMYK:

cmyk(6%, 23%, 0%, 11%)Color Converter →

Color Meaning and Usage

#D7AFE4 is a light magenta color with RGB values of 215, 175, 228 and HSL of 285°, 50%, 79%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7AFE4 is #BCE4AF, creating high-contrast pairings. For softer combinations, try analogous colors like #BCAFE4.

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

Contrast with #D7AFE4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7AFE4?

#D7AFE4 is a light magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D7AFE4?

#D7AFE4 in RGB is (215, 175, 228) - 215 red, 175 green, and 228 blue.

How to use #D7AFE4 in CSS?

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

What colors go well with #D7AFE4?

#BCE4AF (complementary), #BCAFE4 (analogous), and #BA75D1 (lighter shade) work well with #D7AFE4.