#DB7ED8 Color Information

Hex color code: #DB7ED8

The hex color #DB7ED8 is a balanced magenta with RGB values of (219, 126, 216) and HSL of (302°, 56%, 68%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#DB7ED8
RGB
219, 126, 216
HSL
302°, 56%, 68%
CMYK
0%, 42%, 1%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DB7ED8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

219, 126, 216

Red: 219 / Green: 126 / Blue: 216

HSL

302°, 56%, 68%

Hue: 302° / Saturation: 56% / Lightness: 68%

CMYK

0%, 42%, 1%, 14%

Cyan: 0% / Magenta: 42% / Yellow: 1% / Key: 14%

What color is #DB7ED8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DB7ED8 to RGB:

rgb(219, 126, 216)HEX to RGB Converter →

HEX to HSL

Convert #DB7ED8 to HSL:

hsl(302, 56%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #DB7ED8 to CMYK:

cmyk(0%, 42%, 1%, 14%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #DB7ED8 has RGB (219, 126, 216) and HSL (302°, 56%, 68%). 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 #DB7ED8 is #80DB83, creating high-contrast pairings. For softer combinations, try analogous colors like #B080DB.

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

Contrast with #DB7ED8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DB7ED8?

#DB7ED8 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DB7ED8?

#DB7ED8 in RGB is (219, 126, 216) - 219 red, 126 green, and 216 blue.

How to use #DB7ED8 in CSS?

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

What colors go well with #DB7ED8?

#80DB83 (complementary), #B080DB (analogous), and #CA44C6 (lighter shade) work well with #DB7ED8.