#797DEC Color Information

Hex color code: #797DEC

#797DEC is a bold blue color. In RGB it is (121, 125, 236), and in HSL it is (238°, 75%, 70%). It is often used for branding and logos.

Try:
Color NameMedium Slate Blue
HEX
#797DEC
RGB
121, 125, 236
HSL
238°, 75%, 70%
CMYK
49%, 47%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797DEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 125, 236

Red: 121 / Green: 125 / Blue: 236

HSL

238°, 75%, 70%

Hue: 238° / Saturation: 75% / Lightness: 70%

CMYK

49%, 47%, 0%, 7%

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

What color is #797DEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797DEC to RGB:

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

HEX to HSL

Convert #797DEC to HSL:

hsl(238, 75%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #797DEC to CMYK:

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

Color Meaning and Usage

A eye-catching blue tone, #797DEC has RGB (121, 125, 236) and HSL (238°, 75%, 70%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797DEC is #ECE879, creating high-contrast pairings. For softer combinations, try analogous colors like #79B6EC.

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

Contrast with #797DEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797DEC?

#797DEC is a eye-catching blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #797DEC?

#797DEC in RGB is (121, 125, 236) - 121 red, 125 green, and 236 blue.

How to use #797DEC in CSS?

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

What colors go well with #797DEC?

#ECE879 (complementary), #79B6EC (analogous), and #363CE2 (lighter shade) work well with #797DEC.