#D2AFEF Color Information

Hex color code: #D2AFEF

A ethereal purple shade, #D2AFEF appears as (210, 175, 239) in RGB and (273°, 67%, 81%) in HSL. It is typically applied in digital products.

Try:
Color NamePlum
HEX
#D2AFEF
RGB
210, 175, 239
HSL
273°, 67%, 81%
CMYK
12%, 27%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2AFEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 175, 239

Red: 210 / Green: 175 / Blue: 239

HSL

273°, 67%, 81%

Hue: 273° / Saturation: 67% / Lightness: 81%

CMYK

12%, 27%, 0%, 6%

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

What color is #D2AFEF?

#D2AFEF is a very light tint associated with purity and simplicity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2AFEF to RGB:

rgb(210, 175, 239)HEX to RGB Converter →

HEX to HSL

Convert #D2AFEF to HSL:

hsl(273, 67%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #D2AFEF to CMYK:

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

Color Meaning and Usage

#D2AFEF is a soft purple color with RGB values of 210, 175, 239 and HSL of 273°, 67%, 81%. This very light tint evokes purity and simplicity, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2AFEF is #CBEFAE, creating high-contrast pairings. For softer combinations, try analogous colors like #B1AEEF.

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

Contrast with #D2AFEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2AFEF?

#D2AFEF is a soft purple color - a very light tint that evokes purity and simplicity.

What is the RGB value of #D2AFEF?

#D2AFEF in RGB is (210, 175, 239) - 210 red, 175 green, and 239 blue.

How to use #D2AFEF in CSS?

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

What colors go well with #D2AFEF?

#CBEFAE (complementary), #B1AEEF (analogous), and #AE6EE2 (lighter shade) work well with #D2AFEF.