#D8CDF7 Color Information

Hex color code: #D8CDF7

#D8CDF7 is a airy purple color. In RGB it is (216, 205, 247), and in HSL it is (256°, 72%, 89%). It is widely used in graphic design.

Try:
Color NameLavender
HEX
#D8CDF7
RGB
216, 205, 247
HSL
256°, 72%, 89%
CMYK
13%, 17%, 0%, 3%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8CDF7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 205, 247

Red: 216 / Green: 205 / Blue: 247

HSL

256°, 72%, 89%

Hue: 256° / Saturation: 72% / Lightness: 89%

CMYK

13%, 17%, 0%, 3%

Cyan: 13% / Magenta: 17% / Yellow: 0% / Key: 3%

What color is #D8CDF7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8CDF7 to RGB:

rgb(216, 205, 247)HEX to RGB Converter →

HEX to HSL

Convert #D8CDF7 to HSL:

hsl(256, 72%, 89%)RGB to HSL Converter →

HEX to CMYK

Convert #D8CDF7 to CMYK:

cmyk(13%, 17%, 0%, 3%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #D8CDF7 has RGB (216, 205, 247) and HSL (256°, 72%, 89%). Known for evoking purity and simplicity, this very light tint is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8CDF7 is #ECF7CF, creating high-contrast pairings. For softer combinations, try analogous colors like #CFD8F7.

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

Contrast with #D8CDF7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8CDF7?

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

What is the RGB value of #D8CDF7?

#D8CDF7 in RGB is (216, 205, 247) - 216 red, 205 green, and 247 blue.

How to use #D8CDF7 in CSS?

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

What colors go well with #D8CDF7?

#ECF7CF (complementary), #CFD8F7 (analogous), and #A68DEC (lighter shade) work well with #D8CDF7.