#7046EC Color Information

Hex color code: #7046EC

#7046EC is a eye-catching purple color. In RGB it is (112, 70, 236), and in HSL it is (255°, 81%, 60%). It is popular in mobile app design.

Try:
Color NameMedium Slate Blue
HEX
#7046EC
RGB
112, 70, 236
HSL
255°, 81%, 60%
CMYK
53%, 70%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #7046EC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7046EC; color: #FFFFFF; }

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 #7046EC; background-color: #7046EC15; }

Alert / Toast

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

Link / Accent

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

a { color: #7046EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7046EC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

112, 70, 236

Red: 112 / Green: 70 / Blue: 236

HSL

255°, 81%, 60%

Hue: 255° / Saturation: 81% / Lightness: 60%

CMYK

53%, 70%, 0%, 7%

Cyan: 53% / Magenta: 70% / Yellow: 0% / Key: 7%

What color is #7046EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7046EC to RGB:

rgb(112, 70, 236)HEX to RGB Converter →

HEX to HSL

Convert #7046EC to HSL:

hsl(255, 81%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #7046EC to CMYK:

cmyk(53%, 70%, 0%, 7%)Color Converter →

Color Meaning and Usage

#7046EC is a striking purple color with RGB values of 112, 70, 236 and HSL of 255°, 81%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7046EC is #C2EC46, creating high-contrast pairings. For softer combinations, try analogous colors like #4670EC.

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

Contrast with #7046EC

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

Contrast Ratio: 3.78:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7046EC?

#7046EC is a striking purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #7046EC?

#7046EC in RGB is (112, 70, 236) - 112 red, 70 green, and 236 blue.

How to use #7046EC in CSS?

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

What colors go well with #7046EC?

#C2EC46 (complementary), #4670EC (analogous), and #4416D0 (lighter shade) work well with #7046EC.