#795B8B Color Information

Hex color code: #795B8B

A gentle purple shade, #795B8B appears as (121, 91, 139) in RGB and (278°, 21%, 45%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameSlate Gray
HEX
#795B8B
RGB
121, 91, 139
HSL
278°, 21%, 45%
CMYK
13%, 35%, 0%, 45%

Shades

CSS Usage
color: #795B8B;
background-color: #795B8B;
border-color: #795B8B;
box-shadow: 0 0 10px #795B8B;
border: 2px solid #795B8B;
Tailwind Usage
bg-[#795B8B]
text-[#795B8B]
border-[#795B8B]
shadow-[0_0_10px_795B8B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #795B8B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #795B8B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #795B8B; color: #FFFFFF; }

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 #795B8B; background-color: #795B8B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #795B8B20; border-left: 4px solid #795B8B; }

Link / Accent

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

a { color: #795B8B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #795B8B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 91, 139

Red: 121 / Green: 91 / Blue: 139

HSL

278°, 21%, 45%

Hue: 278° / Saturation: 21% / Lightness: 45%

CMYK

13%, 35%, 0%, 45%

Cyan: 13% / Magenta: 35% / Yellow: 0% / Key: 45%

What color is #795B8B?

#795B8B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #795B8B to RGB:

rgb(121, 91, 139)HEX to RGB Converter →

HEX to HSL

Convert #795B8B to HSL:

hsl(278, 21%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #795B8B to CMYK:

cmyk(13%, 35%, 0%, 45%)Color Converter →

Color Meaning and Usage

#795B8B is a subtle purple color with RGB values of 121, 91, 139 and HSL of 278°, 21%, 45%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #795B8B is #6C8B5B, creating high-contrast pairings. For softer combinations, try analogous colors like #615B8B.

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

Contrast with #795B8B

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

Contrast Ratio: 3.68:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #795B8B?

#795B8B is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #795B8B?

#795B8B in RGB is (121, 91, 139) - 121 red, 91 green, and 139 blue.

How to use #795B8B in CSS?

Use #795B8B directly in your CSS properties like color or background-color.

What colors go well with #795B8B?

#6C8B5B (complementary), #615B8B (analogous), and #513C5D (lighter shade) work well with #795B8B.