#B287BA Color Information

Hex color code: #B287BA

#B287BA is a gentle magenta color. In RGB it is (178, 135, 186), and in HSL it is (291°, 27%, 63%). It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#B287BA
RGB
178, 135, 186
HSL
291°, 27%, 63%
CMYK
4%, 27%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B287BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 135, 186

Red: 178 / Green: 135 / Blue: 186

HSL

291°, 27%, 63%

Hue: 291° / Saturation: 27% / Lightness: 63%

CMYK

4%, 27%, 0%, 27%

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

What color is #B287BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B287BA to RGB:

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

HEX to HSL

Convert #B287BA to HSL:

hsl(291, 27%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #B287BA to CMYK:

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

Color Meaning and Usage

#B287BA is a soft magenta color with RGB values of 178, 135, 186 and HSL of 291°, 27%, 63%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B287BA is #8FBA87, creating high-contrast pairings. For softer combinations, try analogous colors like #9987BA.

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

Contrast with #B287BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B287BA?

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

What is the RGB value of #B287BA?

#B287BA in RGB is (178, 135, 186) - 178 red, 135 green, and 186 blue.

How to use #B287BA in CSS?

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

What colors go well with #B287BA?

#8FBA87 (complementary), #9987BA (analogous), and #92599B (lighter shade) work well with #B287BA.