#8B98CB Color Information

Hex color code: #8B98CB

The hex color #8B98CB is a pastel blue with RGB values of (139, 152, 203) and HSL of (228°, 38%, 67%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#8B98CB
RGB
139, 152, 203
HSL
228°, 38%, 67%
CMYK
32%, 25%, 0%, 20%

Shades

CSS Usage
color: #8B98CB;
background-color: #8B98CB;
border-color: #8B98CB;
box-shadow: 0 0 10px #8B98CB;
border: 2px solid #8B98CB;
Tailwind Usage
bg-[#8B98CB]
text-[#8B98CB]
border-[#8B98CB]
shadow-[0_0_10px_8B98CB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #8B98CB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #8B98CB; color: #000000; }

Badge

New Feature
.badge { background-color: #8B98CB; 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 #8B98CB; background-color: #8B98CB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #8B98CB20; border-left: 4px solid #8B98CB; }

Link / Accent

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

a { color: #8B98CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8B98CB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

139, 152, 203

Red: 139 / Green: 152 / Blue: 203

HSL

228°, 38%, 67%

Hue: 228° / Saturation: 38% / Lightness: 67%

CMYK

32%, 25%, 0%, 20%

Cyan: 32% / Magenta: 25% / Yellow: 0% / Key: 20%

What color is #8B98CB?

#8B98CB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8B98CB to RGB:

rgb(139, 152, 203)HEX to RGB Converter →

HEX to HSL

Convert #8B98CB to HSL:

hsl(228, 38%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #8B98CB to CMYK:

cmyk(32%, 25%, 0%, 20%)Color Converter →

Color Meaning and Usage

A pastel blue tone, #8B98CB has RGB (139, 152, 203) and HSL (228°, 38%, 67%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8B98CB is #CBBE8B, creating high-contrast pairings. For softer combinations, try analogous colors like #8BB8CB.

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

Contrast with #8B98CB

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 #8B98CB?

#8B98CB is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8B98CB?

#8B98CB in RGB is (139, 152, 203) - 139 red, 152 green, and 203 blue.

How to use #8B98CB in CSS?

Use #8B98CB directly in your CSS properties like color or background-color.

What colors go well with #8B98CB?

#CBBE8B (complementary), #8BB8CB (analogous), and #5669B3 (lighter shade) work well with #8B98CB.