#9B799B Color Information

Hex color code: #9B799B

A understated magenta shade, #9B799B appears as (155, 121, 155) in RGB and (300°, 15%, 54%) in HSL. It is widely used in graphic design.

Try:
Color NameGray
HEX
#9B799B
RGB
155, 121, 155
HSL
300°, 15%, 54%
CMYK
0%, 22%, 0%, 39%

Shades

CSS Usage
color: #9B799B;
background-color: #9B799B;
border-color: #9B799B;
box-shadow: 0 0 10px #9B799B;
border: 2px solid #9B799B;
Tailwind Usage
bg-[#9B799B]
text-[#9B799B]
border-[#9B799B]
shadow-[0_0_10px_9B799B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9B799B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9B799B; color: #000000; }

Badge

New Feature
.badge { background-color: #9B799B; 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 #9B799B; background-color: #9B799B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9B799B20; border-left: 4px solid #9B799B; }

Link / Accent

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

a { color: #9B799B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9B799B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

155, 121, 155

Red: 155 / Green: 121 / Blue: 155

HSL

300°, 15%, 54%

Hue: 300° / Saturation: 15% / Lightness: 54%

CMYK

0%, 22%, 0%, 39%

Cyan: 0% / Magenta: 22% / Yellow: 0% / Key: 39%

What color is #9B799B?

#9B799B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9B799B to RGB:

rgb(155, 121, 155)HEX to RGB Converter →

HEX to HSL

Convert #9B799B to HSL:

hsl(300, 15%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #9B799B to CMYK:

cmyk(0%, 22%, 0%, 39%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #9B799B has RGB (155, 121, 155) and HSL (300°, 15%, 54%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9B799B is #789B78, creating high-contrast pairings. For softer combinations, try analogous colors like #8A789B.

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

Contrast with #9B799B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9B799B?

#9B799B is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9B799B?

#9B799B in RGB is (155, 121, 155) - 155 red, 121 green, and 155 blue.

How to use #9B799B in CSS?

Use #9B799B directly in your CSS properties like color or background-color.

What colors go well with #9B799B?

#789B78 (complementary), #8A789B (analogous), and #725572 (lighter shade) work well with #9B799B.