#9B8DEC Color Information

Hex color code: #9B8DEC

#9B8DEC is a vivid blue color. In RGB it is (155, 141, 236), and in HSL it is (249°, 71%, 74%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#9B8DEC
RGB
155, 141, 236
HSL
249°, 71%, 74%
CMYK
34%, 40%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9B8DEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

155, 141, 236

Red: 155 / Green: 141 / Blue: 236

HSL

249°, 71%, 74%

Hue: 249° / Saturation: 71% / Lightness: 74%

CMYK

34%, 40%, 0%, 7%

Cyan: 34% / Magenta: 40% / Yellow: 0% / Key: 7%

What color is #9B8DEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9B8DEC to RGB:

rgb(155, 141, 236)HEX to RGB Converter →

HEX to HSL

Convert #9B8DEC to HSL:

hsl(249, 71%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #9B8DEC to CMYK:

cmyk(34%, 40%, 0%, 7%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #9B8DEC has RGB (155, 141, 236) and HSL (249°, 71%, 74%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9B8DEC is #DEEC8E, creating high-contrast pairings. For softer combinations, try analogous colors like #8EAFEC.

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

Contrast with #9B8DEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9B8DEC?

#9B8DEC is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #9B8DEC?

#9B8DEC in RGB is (155, 141, 236) - 155 red, 141 green, and 236 blue.

How to use #9B8DEC in CSS?

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

What colors go well with #9B8DEC?

#DEEC8E (complementary), #8EAFEC (analogous), and #624CE1 (lighter shade) work well with #9B8DEC.