#796FEC Color Information

Hex color code: #796FEC

The hex color #796FEC is a vivid blue with RGB values of (121, 111, 236) and HSL of (245°, 77%, 68%). It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#796FEC
RGB
121, 111, 236
HSL
245°, 77%, 68%
CMYK
49%, 53%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #796FEC; 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 #796FEC; background-color: #796FEC15; }

Alert / Toast

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

Link / Accent

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

a { color: #796FEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #796FEC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 111, 236

Red: 121 / Green: 111 / Blue: 236

HSL

245°, 77%, 68%

Hue: 245° / Saturation: 77% / Lightness: 68%

CMYK

49%, 53%, 0%, 7%

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

What color is #796FEC?

#796FEC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #796FEC to RGB:

rgb(121, 111, 236)HEX to RGB Converter →

HEX to HSL

Convert #796FEC to HSL:

hsl(245, 77%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #796FEC to CMYK:

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

Color Meaning and Usage

#796FEC is a dynamic blue color with RGB values of 121, 111, 236 and HSL of 245°, 77%, 68%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #796FEC is #E2EC6F, creating high-contrast pairings. For softer combinations, try analogous colors like #6FA3EC.

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

Contrast with #796FEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #796FEC?

#796FEC is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #796FEC?

#796FEC in RGB is (121, 111, 236) - 121 red, 111 green, and 236 blue.

How to use #796FEC in CSS?

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

What colors go well with #796FEC?

#E2EC6F (complementary), #6FA3EC (analogous), and #3A2BE3 (lighter shade) work well with #796FEC.