#EC7BE2 Color Information

Hex color code: #EC7BE2

#EC7BE2 is a striking magenta color. In RGB it is (236, 123, 226), and in HSL it is (305°, 75%, 70%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#EC7BE2
RGB
236, 123, 226
HSL
305°, 75%, 70%
CMYK
0%, 48%, 4%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC7BE2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 123, 226

Red: 236 / Green: 123 / Blue: 226

HSL

305°, 75%, 70%

Hue: 305° / Saturation: 75% / Lightness: 70%

CMYK

0%, 48%, 4%, 7%

Cyan: 0% / Magenta: 48% / Yellow: 4% / Key: 7%

What color is #EC7BE2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC7BE2 to RGB:

rgb(236, 123, 226)HEX to RGB Converter →

HEX to HSL

Convert #EC7BE2 to HSL:

hsl(305, 75%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #EC7BE2 to CMYK:

cmyk(0%, 48%, 4%, 7%)Color Converter →

Color Meaning and Usage

#EC7BE2 is a vivid magenta color with RGB values of 236, 123, 226 and HSL of 305°, 75%, 70%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC7BE2 is #79EC83, creating high-contrast pairings. For softer combinations, try analogous colors like #BC79EC.

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

Contrast with #EC7BE2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC7BE2?

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

What is the RGB value of #EC7BE2?

#EC7BE2 in RGB is (236, 123, 226) - 236 red, 123 green, and 226 blue.

How to use #EC7BE2 in CSS?

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

What colors go well with #EC7BE2?

#79EC83 (complementary), #BC79EC (analogous), and #E236D4 (lighter shade) work well with #EC7BE2.