#D1AFEE Color Information

Hex color code: #D1AFEE

#D1AFEE is a airy purple color. In RGB it is (209, 175, 238), and in HSL it is (272°, 65%, 81%). It is popular in mobile app design.

Try:
Color NamePlum
HEX
#D1AFEE
RGB
209, 175, 238
HSL
272°, 65%, 81%
CMYK
12%, 26%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D1AFEE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 175, 238

Red: 209 / Green: 175 / Blue: 238

HSL

272°, 65%, 81%

Hue: 272° / Saturation: 65% / Lightness: 81%

CMYK

12%, 26%, 0%, 7%

Cyan: 12% / Magenta: 26% / Yellow: 0% / Key: 7%

What color is #D1AFEE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D1AFEE to RGB:

rgb(209, 175, 238)HEX to RGB Converter →

HEX to HSL

Convert #D1AFEE to HSL:

hsl(272, 65%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #D1AFEE to CMYK:

cmyk(12%, 26%, 0%, 7%)Color Converter →

Color Meaning and Usage

#D1AFEE is a light purple color with RGB values of 209, 175, 238 and HSL of 272°, 65%, 81%. This very light tint evokes purity and simplicity, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D1AFEE is #CCEEAF, creating high-contrast pairings. For softer combinations, try analogous colors like #B1AFEE.

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

Contrast with #D1AFEE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D1AFEE?

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

What is the RGB value of #D1AFEE?

#D1AFEE in RGB is (209, 175, 238) - 209 red, 175 green, and 238 blue.

How to use #D1AFEE in CSS?

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

What colors go well with #D1AFEE?

#CCEEAF (complementary), #B1AFEE (analogous), and #AC70E1 (lighter shade) work well with #D1AFEE.