#D789EB Color Information

Hex color code: #D789EB

A bold magenta shade, #D789EB appears as (215, 137, 235) in RGB and (288°, 71%, 73%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#D789EB
RGB
215, 137, 235
HSL
288°, 71%, 73%
CMYK
9%, 42%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D789EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 137, 235

Red: 215 / Green: 137 / Blue: 235

HSL

288°, 71%, 73%

Hue: 288° / Saturation: 71% / Lightness: 73%

CMYK

9%, 42%, 0%, 8%

Cyan: 9% / Magenta: 42% / Yellow: 0% / Key: 8%

What color is #D789EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D789EB to RGB:

rgb(215, 137, 235)HEX to RGB Converter →

HEX to HSL

Convert #D789EB to HSL:

hsl(288, 71%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #D789EB to CMYK:

cmyk(9%, 42%, 0%, 8%)Color Converter →

Color Meaning and Usage

#D789EB is a bold magenta color with RGB values of 215, 137, 235 and HSL of 288°, 71%, 73%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D789EB is #9DEB89, creating high-contrast pairings. For softer combinations, try analogous colors like #A789EB.

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

Contrast with #D789EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D789EB?

#D789EB is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D789EB?

#D789EB in RGB is (215, 137, 235) - 215 red, 137 green, and 235 blue.

How to use #D789EB in CSS?

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

What colors go well with #D789EB?

#9DEB89 (complementary), #A789EB (analogous), and #C248E0 (lighter shade) work well with #D789EB.