#D28CF2 Color Information

Hex color code: #D28CF2

#D28CF2 is a bold purple color. In RGB it is (210, 140, 242), and in HSL it is (281°, 80%, 75%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#D28CF2
RGB
210, 140, 242
HSL
281°, 80%, 75%
CMYK
13%, 42%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D28CF2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 140, 242

Red: 210 / Green: 140 / Blue: 242

HSL

281°, 80%, 75%

Hue: 281° / Saturation: 80% / Lightness: 75%

CMYK

13%, 42%, 0%, 5%

Cyan: 13% / Magenta: 42% / Yellow: 0% / Key: 5%

What color is #D28CF2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D28CF2 to RGB:

rgb(210, 140, 242)HEX to RGB Converter →

HEX to HSL

Convert #D28CF2 to HSL:

hsl(281, 80%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #D28CF2 to CMYK:

cmyk(13%, 42%, 0%, 5%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #D28CF2 has RGB (210, 140, 242) and HSL (281°, 80%, 75%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D28CF2 is #ADF28C, creating high-contrast pairings. For softer combinations, try analogous colors like #9F8CF2.

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

Contrast with #D28CF2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D28CF2?

#D28CF2 is a dynamic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D28CF2?

#D28CF2 in RGB is (210, 140, 242) - 210 red, 140 green, and 242 blue.

How to use #D28CF2 in CSS?

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

What colors go well with #D28CF2?

#ADF28C (complementary), #9F8CF2 (analogous), and #B747EB (lighter shade) work well with #D28CF2.