#D4BAF1 Color Information

Hex color code: #D4BAF1

#D4BAF1 is a light purple color. In RGB it is (212, 186, 241), and in HSL it is (268°, 66%, 84%). It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#D4BAF1
RGB
212, 186, 241
HSL
268°, 66%, 84%
CMYK
12%, 23%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4BAF1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 186, 241

Red: 212 / Green: 186 / Blue: 241

HSL

268°, 66%, 84%

Hue: 268° / Saturation: 66% / Lightness: 84%

CMYK

12%, 23%, 0%, 5%

Cyan: 12% / Magenta: 23% / Yellow: 0% / Key: 5%

What color is #D4BAF1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4BAF1 to RGB:

rgb(212, 186, 241)HEX to RGB Converter →

HEX to HSL

Convert #D4BAF1 to HSL:

hsl(268, 66%, 84%)RGB to HSL Converter →

HEX to CMYK

Convert #D4BAF1 to CMYK:

cmyk(12%, 23%, 0%, 5%)Color Converter →

Color Meaning and Usage

A soft purple tone, #D4BAF1 has RGB (212, 186, 241) and HSL (268°, 66%, 84%). Known for evoking purity and simplicity, this very light tint is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4BAF1 is #D8F1BB, creating high-contrast pairings. For softer combinations, try analogous colors like #BBBDF1.

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

Contrast with #D4BAF1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4BAF1?

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

What is the RGB value of #D4BAF1?

#D4BAF1 in RGB is (212, 186, 241) - 212 red, 186 green, and 241 blue.

How to use #D4BAF1 in CSS?

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

What colors go well with #D4BAF1?

#D8F1BB (complementary), #BBBDF1 (analogous), and #AC7CE4 (lighter shade) work well with #D4BAF1.