#797ECE Color Information

Hex color code: #797ECE

A subtle blue shade, #797ECE appears as (121, 126, 206) in RGB and (236°, 46%, 64%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#797ECE
RGB
121, 126, 206
HSL
236°, 46%, 64%
CMYK
41%, 39%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #797ECE; 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 #797ECE; background-color: #797ECE15; }

Alert / Toast

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

Link / Accent

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

a { color: #797ECE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #797ECE in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 126, 206

Red: 121 / Green: 126 / Blue: 206

HSL

236°, 46%, 64%

Hue: 236° / Saturation: 46% / Lightness: 64%

CMYK

41%, 39%, 0%, 19%

Cyan: 41% / Magenta: 39% / Yellow: 0% / Key: 19%

What color is #797ECE?

#797ECE is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797ECE to RGB:

rgb(121, 126, 206)HEX to RGB Converter →

HEX to HSL

Convert #797ECE to HSL:

hsl(236, 46%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #797ECE to CMYK:

cmyk(41%, 39%, 0%, 19%)Color Converter →

Color Meaning and Usage

A delicate blue tone, #797ECE has RGB (121, 126, 206) and HSL (236°, 46%, 64%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797ECE is #CDC879, creating high-contrast pairings. For softer combinations, try analogous colors like #79A9CD.

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

Contrast with #797ECE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797ECE?

#797ECE is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #797ECE?

#797ECE in RGB is (121, 126, 206) - 121 red, 126 green, and 206 blue.

How to use #797ECE in CSS?

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

What colors go well with #797ECE?

#CDC879 (complementary), #79A9CD (analogous), and #434BB6 (lighter shade) work well with #797ECE.