#D989EB Color Information

Hex color code: #D989EB

A vivid magenta shade, #D989EB appears as (217, 137, 235) in RGB and (289°, 71%, 73%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D989EB
RGB
217, 137, 235
HSL
289°, 71%, 73%
CMYK
8%, 42%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D989EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 137, 235

Red: 217 / Green: 137 / Blue: 235

HSL

289°, 71%, 73%

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

CMYK

8%, 42%, 0%, 8%

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

What color is #D989EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D989EB to RGB:

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

HEX to HSL

Convert #D989EB to HSL:

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

HEX to CMYK

Convert #D989EB to CMYK:

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

Color Meaning and Usage

A striking magenta tone, #D989EB has RGB (217, 137, 235) and HSL (289°, 71%, 73%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D989EB is #9BEB89, creating high-contrast pairings. For softer combinations, try analogous colors like #A889EB.

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

Contrast with #D989EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D989EB?

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

What is the RGB value of #D989EB?

#D989EB in RGB is (217, 137, 235) - 217 red, 137 green, and 235 blue.

How to use #D989EB in CSS?

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

What colors go well with #D989EB?

#9BEB89 (complementary), #A889EB (analogous), and #C448E0 (lighter shade) work well with #D989EB.