#D474EC Color Information

Hex color code: #D474EC

The hex color #D474EC is a bold magenta with RGB values of (212, 116, 236) and HSL of (288°, 76%, 69%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#D474EC
RGB
212, 116, 236
HSL
288°, 76%, 69%
CMYK
10%, 51%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D474EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 116, 236

Red: 212 / Green: 116 / Blue: 236

HSL

288°, 76%, 69%

Hue: 288° / Saturation: 76% / Lightness: 69%

CMYK

10%, 51%, 0%, 7%

Cyan: 10% / Magenta: 51% / Yellow: 0% / Key: 7%

What color is #D474EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D474EC to RGB:

rgb(212, 116, 236)HEX to RGB Converter →

HEX to HSL

Convert #D474EC to HSL:

hsl(288, 76%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D474EC to CMYK:

cmyk(10%, 51%, 0%, 7%)Color Converter →

Color Meaning and Usage

#D474EC is a vivid magenta color with RGB values of 212, 116, 236 and HSL of 288°, 76%, 69%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D474EC is #8CEC74, creating high-contrast pairings. For softer combinations, try analogous colors like #9874EC.

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

Contrast with #D474EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D474EC?

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

What is the RGB value of #D474EC?

#D474EC in RGB is (212, 116, 236) - 212 red, 116 green, and 236 blue.

How to use #D474EC in CSS?

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

What colors go well with #D474EC?

#8CEC74 (complementary), #9874EC (analogous), and #BF31E3 (lighter shade) work well with #D474EC.