#D274EF Color Information

Hex color code: #D274EF

A vivid magenta shade, #D274EF appears as (210, 116, 239) in RGB and (286°, 79%, 70%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D274EF
RGB
210, 116, 239
HSL
286°, 79%, 70%
CMYK
12%, 51%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D274EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 116, 239

Red: 210 / Green: 116 / Blue: 239

HSL

286°, 79%, 70%

Hue: 286° / Saturation: 79% / Lightness: 70%

CMYK

12%, 51%, 0%, 6%

Cyan: 12% / Magenta: 51% / Yellow: 0% / Key: 6%

What color is #D274EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D274EF to RGB:

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

HEX to HSL

Convert #D274EF to HSL:

hsl(286, 79%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D274EF to CMYK:

cmyk(12%, 51%, 0%, 6%)Color Converter →

Color Meaning and Usage

#D274EF is a striking magenta color with RGB values of 210, 116, 239 and HSL of 286°, 79%, 70%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D274EF is #92EF76, creating high-contrast pairings. For softer combinations, try analogous colors like #9676EF.

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

Contrast with #D274EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D274EF?

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

What is the RGB value of #D274EF?

#D274EF in RGB is (210, 116, 239) - 210 red, 116 green, and 239 blue.

How to use #D274EF in CSS?

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

What colors go well with #D274EF?

#92EF76 (complementary), #9676EF (analogous), and #BD32E7 (lighter shade) work well with #D274EF.