#B2A1BA Color Information

Hex color code: #B2A1BA

The hex color #B2A1BA is a neutral purple with RGB values of (178, 161, 186) and HSL of (281°, 15%, 68%). It is commonly used in modern UI design.

Try:
Color NameSilver
HEX
#B2A1BA
RGB
178, 161, 186
HSL
281°, 15%, 68%
CMYK
4%, 13%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #B2A1BA; 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 #B2A1BA; background-color: #B2A1BA15; }

Alert / Toast

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

Link / Accent

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

a { color: #B2A1BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #B2A1BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 161, 186

Red: 178 / Green: 161 / Blue: 186

HSL

281°, 15%, 68%

Hue: 281° / Saturation: 15% / Lightness: 68%

CMYK

4%, 13%, 0%, 27%

Cyan: 4% / Magenta: 13% / Yellow: 0% / Key: 27%

What color is #B2A1BA?

#B2A1BA is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B2A1BA to RGB:

rgb(178, 161, 186)HEX to RGB Converter →

HEX to HSL

Convert #B2A1BA to HSL:

hsl(281, 15%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #B2A1BA to CMYK:

cmyk(4%, 13%, 0%, 27%)Color Converter →

Color Meaning and Usage

A understated purple tone, #B2A1BA has RGB (178, 161, 186) and HSL (281°, 15%, 68%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B2A1BA is #A9BAA1, creating high-contrast pairings. For softer combinations, try analogous colors like #A6A1BA.

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

Contrast with #B2A1BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B2A1BA?

#B2A1BA is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B2A1BA?

#B2A1BA in RGB is (178, 161, 186) - 178 red, 161 green, and 186 blue.

How to use #B2A1BA in CSS?

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

What colors go well with #B2A1BA?

#A9BAA1 (complementary), #A6A1BA (analogous), and #8E7599 (lighter shade) work well with #B2A1BA.