#EC8FEF Color Information

Hex color code: #EC8FEF

#EC8FEF is a dynamic magenta color. In RGB it is (236, 143, 239), and in HSL it is (298°, 75%, 75%). It is widely used in graphic design.

Try:
Color NameViolet
HEX
#EC8FEF
RGB
236, 143, 239
HSL
298°, 75%, 75%
CMYK
1%, 40%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC8FEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 143, 239

Red: 236 / Green: 143 / Blue: 239

HSL

298°, 75%, 75%

Hue: 298° / Saturation: 75% / Lightness: 75%

CMYK

1%, 40%, 0%, 6%

Cyan: 1% / Magenta: 40% / Yellow: 0% / Key: 6%

What color is #EC8FEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC8FEF to RGB:

rgb(236, 143, 239)HEX to RGB Converter →

HEX to HSL

Convert #EC8FEF to HSL:

hsl(298, 75%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #EC8FEF to CMYK:

cmyk(1%, 40%, 0%, 6%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #EC8FEF has RGB (236, 143, 239) and HSL (298°, 75%, 75%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC8FEF is #93EF8F, creating high-contrast pairings. For softer combinations, try analogous colors like #BC8FEF.

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

Contrast with #EC8FEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC8FEF?

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

What is the RGB value of #EC8FEF?

#EC8FEF in RGB is (236, 143, 239) - 236 red, 143 green, and 239 blue.

How to use #EC8FEF in CSS?

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

What colors go well with #EC8FEF?

#93EF8F (complementary), #BC8FEF (analogous), and #E04CE6 (lighter shade) work well with #EC8FEF.