#9B8EAF Color Information

Hex color code: #9B8EAF

#9B8EAF is a balanced purple color. In RGB it is (155, 142, 175), and in HSL it is (264°, 17%, 62%). It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#9B8EAF
RGB
155, 142, 175
HSL
264°, 17%, 62%
CMYK
11%, 19%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9B8EAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

155, 142, 175

Red: 155 / Green: 142 / Blue: 175

HSL

264°, 17%, 62%

Hue: 264° / Saturation: 17% / Lightness: 62%

CMYK

11%, 19%, 0%, 31%

Cyan: 11% / Magenta: 19% / Yellow: 0% / Key: 31%

What color is #9B8EAF?

#9B8EAF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9B8EAF to RGB:

rgb(155, 142, 175)HEX to RGB Converter →

HEX to HSL

Convert #9B8EAF to HSL:

hsl(264, 17%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #9B8EAF to CMYK:

cmyk(11%, 19%, 0%, 31%)Color Converter →

Color Meaning and Usage

#9B8EAF is a balanced purple color with RGB values of 155, 142, 175 and HSL of 264°, 17%, 62%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9B8EAF is #A1AF8E, creating high-contrast pairings. For softer combinations, try analogous colors like #8E91AF.

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

Contrast with #9B8EAF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9B8EAF?

#9B8EAF is a balanced purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9B8EAF?

#9B8EAF in RGB is (155, 142, 175) - 155 red, 142 green, and 175 blue.

How to use #9B8EAF in CSS?

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

What colors go well with #9B8EAF?

#A1AF8E (complementary), #8E91AF (analogous), and #74638C (lighter shade) work well with #9B8EAF.