#9F8BAC Color Information

Hex color code: #9F8BAC

The hex color #9F8BAC is a balanced purple with RGB values of (159, 139, 172) and HSL of (276°, 17%, 61%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#9F8BAC
RGB
159, 139, 172
HSL
276°, 17%, 61%
CMYK
8%, 19%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9F8BAC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

159, 139, 172

Red: 159 / Green: 139 / Blue: 172

HSL

276°, 17%, 61%

Hue: 276° / Saturation: 17% / Lightness: 61%

CMYK

8%, 19%, 0%, 33%

Cyan: 8% / Magenta: 19% / Yellow: 0% / Key: 33%

What color is #9F8BAC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9F8BAC to RGB:

rgb(159, 139, 172)HEX to RGB Converter →

HEX to HSL

Convert #9F8BAC to HSL:

hsl(276, 17%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #9F8BAC to CMYK:

cmyk(8%, 19%, 0%, 33%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #9F8BAC has RGB (159, 139, 172) and HSL (276°, 17%, 61%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9F8BAC is #98AC8B, creating high-contrast pairings. For softer combinations, try analogous colors like #8E8BAC.

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

Contrast with #9F8BAC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9F8BAC?

#9F8BAC is a balanced purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9F8BAC?

#9F8BAC in RGB is (159, 139, 172) - 159 red, 139 green, and 172 blue.

How to use #9F8BAC in CSS?

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

What colors go well with #9F8BAC?

#98AC8B (complementary), #8E8BAC (analogous), and #796189 (lighter shade) work well with #9F8BAC.