#7E6CEF Color Information

Hex color code: #7E6CEF

A bold blue shade, #7E6CEF appears as (126, 108, 239) in RGB and (248°, 80%, 68%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Slate Blue
HEX
#7E6CEF
RGB
126, 108, 239
HSL
248°, 80%, 68%
CMYK
47%, 55%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7E6CEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 108, 239

Red: 126 / Green: 108 / Blue: 239

HSL

248°, 80%, 68%

Hue: 248° / Saturation: 80% / Lightness: 68%

CMYK

47%, 55%, 0%, 6%

Cyan: 47% / Magenta: 55% / Yellow: 0% / Key: 6%

What color is #7E6CEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E6CEF to RGB:

rgb(126, 108, 239)HEX to RGB Converter →

HEX to HSL

Convert #7E6CEF to HSL:

hsl(248, 80%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #7E6CEF to CMYK:

cmyk(47%, 55%, 0%, 6%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #7E6CEF has RGB (126, 108, 239) and HSL (248°, 80%, 68%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7E6CEF is #DDEF6C, creating high-contrast pairings. For softer combinations, try analogous colors like #6C9CEF.

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

Contrast with #7E6CEF

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

Contrast Ratio: 5.28:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7E6CEF?

#7E6CEF is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7E6CEF?

#7E6CEF in RGB is (126, 108, 239) - 126 red, 108 green, and 239 blue.

How to use #7E6CEF in CSS?

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

What colors go well with #7E6CEF?

#DDEF6C (complementary), #6C9CEF (analogous), and #4127E7 (lighter shade) work well with #7E6CEF.