#D274EC Color Information

Hex color code: #D274EC

The hex color #D274EC is a vivid magenta with RGB values of (210, 116, 236) and HSL of (287°, 76%, 69%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D274EC
RGB
210, 116, 236
HSL
287°, 76%, 69%
CMYK
11%, 51%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D274EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 116, 236

Red: 210 / Green: 116 / Blue: 236

HSL

287°, 76%, 69%

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

CMYK

11%, 51%, 0%, 7%

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

What color is #D274EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D274EC to RGB:

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

HEX to HSL

Convert #D274EC to HSL:

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

HEX to CMYK

Convert #D274EC to CMYK:

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

Color Meaning and Usage

#D274EC is a eye-catching magenta color with RGB values of 210, 116, 236 and HSL of 287°, 76%, 69%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D274EC is #8EEC74, creating high-contrast pairings. For softer combinations, try analogous colors like #9674EC.

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

Contrast with #D274EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D274EC?

#D274EC is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D274EC?

#D274EC in RGB is (210, 116, 236) - 210 red, 116 green, and 236 blue.

How to use #D274EC in CSS?

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

What colors go well with #D274EC?

#8EEC74 (complementary), #9674EC (analogous), and #BC31E3 (lighter shade) work well with #D274EC.