#B28FBC Color Information

Hex color code: #B28FBC

The hex color #B28FBC is a pastel magenta with RGB values of (178, 143, 188) and HSL of (287°, 25%, 65%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#B28FBC
RGB
178, 143, 188
HSL
287°, 25%, 65%
CMYK
5%, 24%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B28FBC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 143, 188

Red: 178 / Green: 143 / Blue: 188

HSL

287°, 25%, 65%

Hue: 287° / Saturation: 25% / Lightness: 65%

CMYK

5%, 24%, 0%, 26%

Cyan: 5% / Magenta: 24% / Yellow: 0% / Key: 26%

What color is #B28FBC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B28FBC to RGB:

rgb(178, 143, 188)HEX to RGB Converter →

HEX to HSL

Convert #B28FBC to HSL:

hsl(287, 25%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #B28FBC to CMYK:

cmyk(5%, 24%, 0%, 26%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #B28FBC has RGB (178, 143, 188) and HSL (287°, 25%, 65%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B28FBC is #99BC8F, creating high-contrast pairings. For softer combinations, try analogous colors like #9C8FBC.

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

Contrast with #B28FBC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B28FBC?

#B28FBC is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B28FBC?

#B28FBC in RGB is (178, 143, 188) - 178 red, 143 green, and 188 blue.

How to use #B28FBC in CSS?

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

What colors go well with #B28FBC?

#99BC8F (complementary), #9C8FBC (analogous), and #92609F (lighter shade) work well with #B28FBC.