#EC6AF0 Color Information

Hex color code: #EC6AF0

#EC6AF0 is a vivid magenta color. In RGB it is (236, 106, 240), and in HSL it is (298°, 82%, 68%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#EC6AF0
RGB
236, 106, 240
HSL
298°, 82%, 68%
CMYK
2%, 56%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC6AF0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 106, 240

Red: 236 / Green: 106 / Blue: 240

HSL

298°, 82%, 68%

Hue: 298° / Saturation: 82% / Lightness: 68%

CMYK

2%, 56%, 0%, 6%

Cyan: 2% / Magenta: 56% / Yellow: 0% / Key: 6%

What color is #EC6AF0?

#EC6AF0 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC6AF0 to RGB:

rgb(236, 106, 240)HEX to RGB Converter →

HEX to HSL

Convert #EC6AF0 to HSL:

hsl(298, 82%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #EC6AF0 to CMYK:

cmyk(2%, 56%, 0%, 6%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #EC6AF0 has RGB (236, 106, 240) and HSL (298°, 82%, 68%). Known for evoking energy and excitement, this highly saturated hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC6AF0 is #6FF06A, creating high-contrast pairings. For softer combinations, try analogous colors like #A96AF0.

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

Contrast with #EC6AF0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC6AF0?

#EC6AF0 is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #EC6AF0?

#EC6AF0 in RGB is (236, 106, 240) - 236 red, 106 green, and 240 blue.

How to use #EC6AF0 in CSS?

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

What colors go well with #EC6AF0?

#6FF06A (complementary), #A96AF0 (analogous), and #E325E9 (lighter shade) work well with #EC6AF0.