#9897BA Color Information

Hex color code: #9897BA

A pastel blue shade, #9897BA appears as (152, 151, 186) in RGB and (242°, 20%, 66%) in HSL. It is commonly used in modern UI design.

Try:
Color NameLight Slate Gray
HEX
#9897BA
RGB
152, 151, 186
HSL
242°, 20%, 66%
CMYK
18%, 19%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9897BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 151, 186

Red: 152 / Green: 151 / Blue: 186

HSL

242°, 20%, 66%

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

CMYK

18%, 19%, 0%, 27%

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

What color is #9897BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9897BA to RGB:

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

HEX to HSL

Convert #9897BA to HSL:

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

HEX to CMYK

Convert #9897BA to CMYK:

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

Color Meaning and Usage

A soft blue tone, #9897BA has RGB (152, 151, 186) and HSL (242°, 20%, 66%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9897BA is #B8BA97, creating high-contrast pairings. For softer combinations, try analogous colors like #97A7BA.

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

Contrast with #9897BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9897BA?

#9897BA is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9897BA?

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

How to use #9897BA in CSS?

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

What colors go well with #9897BA?

#B8BA97 (complementary), #97A7BA (analogous), and #6B699B (lighter shade) work well with #9897BA.