#9797BA Color Information

Hex color code: #9797BA

A soft blue shade, #9797BA appears as (151, 151, 186) in RGB and (240°, 20%, 66%) in HSL. It is typically applied in digital products.

Try:
Color NameLight Slate Gray
HEX
#9797BA
RGB
151, 151, 186
HSL
240°, 20%, 66%
CMYK
19%, 19%, 0%, 27%

Shades

CSS Usage
color: #9797BA;
background-color: #9797BA;
border-color: #9797BA;
box-shadow: 0 0 10px #9797BA;
border: 2px solid #9797BA;
Tailwind Usage
bg-[#9797BA]
text-[#9797BA]
border-[#9797BA]
shadow-[0_0_10px_9797BA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9797BA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9797BA; color: #000000; }

Badge

New Feature
.badge { background-color: #9797BA; 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 #9797BA; background-color: #9797BA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9797BA20; border-left: 4px solid #9797BA; }

Link / Accent

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

a { color: #9797BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9797BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 151, 186

Red: 151 / Green: 151 / Blue: 186

HSL

240°, 20%, 66%

Hue: 240° / Saturation: 20% / Lightness: 66%

CMYK

19%, 19%, 0%, 27%

Cyan: 19% / Magenta: 19% / Yellow: 0% / Key: 27%

What color is #9797BA?

#9797BA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9797BA to RGB:

rgb(151, 151, 186)HEX to RGB Converter →

HEX to HSL

Convert #9797BA to HSL:

hsl(240, 20%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #9797BA to CMYK:

cmyk(19%, 19%, 0%, 27%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #9797BA has RGB (151, 151, 186) and HSL (240°, 20%, 66%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9797BA is #BABA97, creating high-contrast pairings. For softer combinations, try analogous colors like #97A8BA.

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

Contrast with #9797BA

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

Contrast Ratio: 7.45:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9797BA?

#9797BA is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9797BA?

#9797BA in RGB is (151, 151, 186) - 151 red, 151 green, and 186 blue.

How to use #9797BA in CSS?

Use #9797BA directly in your CSS properties like color or background-color.

What colors go well with #9797BA?

#BABA97 (complementary), #97A8BA (analogous), and #69699B (lighter shade) work well with #9797BA.