#DB8DEC Color Information

Hex color code: #DB8DEC

The hex color #DB8DEC is a bold magenta with RGB values of (219, 141, 236) and HSL of (289°, 71%, 74%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#DB8DEC
RGB
219, 141, 236
HSL
289°, 71%, 74%
CMYK
7%, 40%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DB8DEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

219, 141, 236

Red: 219 / Green: 141 / Blue: 236

HSL

289°, 71%, 74%

Hue: 289° / Saturation: 71% / Lightness: 74%

CMYK

7%, 40%, 0%, 7%

Cyan: 7% / Magenta: 40% / Yellow: 0% / Key: 7%

What color is #DB8DEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DB8DEC to RGB:

rgb(219, 141, 236)HEX to RGB Converter →

HEX to HSL

Convert #DB8DEC to HSL:

hsl(289, 71%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #DB8DEC to CMYK:

cmyk(7%, 40%, 0%, 7%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #DB8DEC has RGB (219, 141, 236) and HSL (289°, 71%, 74%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DB8DEC is #9FEC8E, creating high-contrast pairings. For softer combinations, try analogous colors like #AB8EEC.

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

Contrast with #DB8DEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DB8DEC?

#DB8DEC is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DB8DEC?

#DB8DEC in RGB is (219, 141, 236) - 219 red, 141 green, and 236 blue.

How to use #DB8DEC in CSS?

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

What colors go well with #DB8DEC?

#9FEC8E (complementary), #AB8EEC (analogous), and #C54CE1 (lighter shade) work well with #DB8DEC.