#D427DD Color Information

Hex color code: #D427DD

#D427DD is a striking magenta color. In RGB it is (212, 39, 221), and in HSL it is (297°, 73%, 51%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#D427DD
RGB
212, 39, 221
HSL
297°, 73%, 51%
CMYK
4%, 82%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D427DD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 39, 221

Red: 212 / Green: 39 / Blue: 221

HSL

297°, 73%, 51%

Hue: 297° / Saturation: 73% / Lightness: 51%

CMYK

4%, 82%, 0%, 13%

Cyan: 4% / Magenta: 82% / Yellow: 0% / Key: 13%

What color is #D427DD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D427DD to RGB:

rgb(212, 39, 221)HEX to RGB Converter →

HEX to HSL

Convert #D427DD to HSL:

hsl(297, 73%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #D427DD to CMYK:

cmyk(4%, 82%, 0%, 13%)Color Converter →

Color Meaning and Usage

#D427DD is a vivid magenta color with RGB values of 212, 39, 221 and HSL of 297°, 73%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D427DD is #30DD27, creating high-contrast pairings. For softer combinations, try analogous colors like #7927DD.

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

Contrast with #D427DD

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

Contrast Ratio: 5.13:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D427DD?

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

What is the RGB value of #D427DD?

#D427DD in RGB is (212, 39, 221) - 212 red, 39 green, and 221 blue.

How to use #D427DD in CSS?

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

What colors go well with #D427DD?

#30DD27 (complementary), #7927DD (analogous), and #98199F (lighter shade) work well with #D427DD.