#7E56EB Color Information

Hex color code: #7E56EB

A striking purple shade, #7E56EB appears as (126, 86, 235) in RGB and (256°, 79%, 63%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Slate Blue
HEX
#7E56EB
RGB
126, 86, 235
HSL
256°, 79%, 63%
CMYK
46%, 63%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #7E56EB; color: #FFFFFF; }

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7E56EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7E56EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 86, 235

Red: 126 / Green: 86 / Blue: 235

HSL

256°, 79%, 63%

Hue: 256° / Saturation: 79% / Lightness: 63%

CMYK

46%, 63%, 0%, 8%

Cyan: 46% / Magenta: 63% / Yellow: 0% / Key: 8%

What color is #7E56EB?

#7E56EB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E56EB to RGB:

rgb(126, 86, 235)HEX to RGB Converter →

HEX to HSL

Convert #7E56EB to HSL:

hsl(256, 79%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #7E56EB to CMYK:

cmyk(46%, 63%, 0%, 8%)Color Converter →

Color Meaning and Usage

A striking purple tone, #7E56EB has RGB (126, 86, 235) and HSL (256°, 79%, 63%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7E56EB is #C3EB56, creating high-contrast pairings. For softer combinations, try analogous colors like #5679EB.

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

Contrast with #7E56EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7E56EB?

#7E56EB is a striking purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7E56EB?

#7E56EB in RGB is (126, 86, 235) - 126 red, 86 green, and 235 blue.

How to use #7E56EB in CSS?

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

What colors go well with #7E56EB?

#C3EB56 (complementary), #5679EB (analogous), and #4D1ADB (lighter shade) work well with #7E56EB.