#D478ED Color Information

Hex color code: #D478ED

#D478ED is a dynamic magenta color. In RGB it is (212, 120, 237), and in HSL it is (287°, 76%, 70%). It is widely used in graphic design.

Try:
Color NameViolet
HEX
#D478ED
RGB
212, 120, 237
HSL
287°, 76%, 70%
CMYK
11%, 49%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D478ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 120, 237

Red: 212 / Green: 120 / Blue: 237

HSL

287°, 76%, 70%

Hue: 287° / Saturation: 76% / Lightness: 70%

CMYK

11%, 49%, 0%, 7%

Cyan: 11% / Magenta: 49% / Yellow: 0% / Key: 7%

What color is #D478ED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D478ED to RGB:

rgb(212, 120, 237)HEX to RGB Converter →

HEX to HSL

Convert #D478ED to HSL:

hsl(287, 76%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D478ED to CMYK:

cmyk(11%, 49%, 0%, 7%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #D478ED has RGB (212, 120, 237) and HSL (287°, 76%, 70%). 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 #D478ED is #92ED78, creating high-contrast pairings. For softer combinations, try analogous colors like #9978ED.

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

Contrast with #D478ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D478ED?

#D478ED is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D478ED?

#D478ED in RGB is (212, 120, 237) - 212 red, 120 green, and 237 blue.

How to use #D478ED in CSS?

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

What colors go well with #D478ED?

#92ED78 (complementary), #9978ED (analogous), and #BE35E3 (lighter shade) work well with #D478ED.