#796DAB Color Information

Hex color code: #796DAB

A soft blue shade, #796DAB appears as (121, 109, 171) in RGB and (252°, 27%, 55%) in HSL. It is typically applied in digital products.

Try:
Color NameLight Slate Gray
HEX
#796DAB
RGB
121, 109, 171
HSL
252°, 27%, 55%
CMYK
29%, 36%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #796DAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 109, 171

Red: 121 / Green: 109 / Blue: 171

HSL

252°, 27%, 55%

Hue: 252° / Saturation: 27% / Lightness: 55%

CMYK

29%, 36%, 0%, 33%

Cyan: 29% / Magenta: 36% / Yellow: 0% / Key: 33%

What color is #796DAB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #796DAB to RGB:

rgb(121, 109, 171)HEX to RGB Converter →

HEX to HSL

Convert #796DAB to HSL:

hsl(252, 27%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #796DAB to CMYK:

cmyk(29%, 36%, 0%, 33%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #796DAB has RGB (121, 109, 171) and HSL (252°, 27%, 55%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #796DAB is #9FAB6D, creating high-contrast pairings. For softer combinations, try analogous colors like #6D80AB.

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

Contrast with #796DAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #796DAB?

#796DAB is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #796DAB?

#796DAB in RGB is (121, 109, 171) - 121 red, 109 green, and 171 blue.

How to use #796DAB in CSS?

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

What colors go well with #796DAB?

#9FAB6D (complementary), #6D80AB (analogous), and #554A82 (lighter shade) work well with #796DAB.