#B27BA6 Color Information

Hex color code: #B27BA6

The hex color #B27BA6 is a soft magenta with RGB values of (178, 123, 166) and HSL of (313°, 26%, 59%). It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#B27BA6
RGB
178, 123, 166
HSL
313°, 26%, 59%
CMYK
0%, 31%, 7%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B27BA6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 123, 166

Red: 178 / Green: 123 / Blue: 166

HSL

313°, 26%, 59%

Hue: 313° / Saturation: 26% / Lightness: 59%

CMYK

0%, 31%, 7%, 30%

Cyan: 0% / Magenta: 31% / Yellow: 7% / Key: 30%

What color is #B27BA6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B27BA6 to RGB:

rgb(178, 123, 166)HEX to RGB Converter →

HEX to HSL

Convert #B27BA6 to HSL:

hsl(313, 26%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #B27BA6 to CMYK:

cmyk(0%, 31%, 7%, 30%)Color Converter →

Color Meaning and Usage

#B27BA6 is a delicate magenta color with RGB values of 178, 123, 166 and HSL of 313°, 26%, 59%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B27BA6 is #7BB287, creating high-contrast pairings. For softer combinations, try analogous colors like #A27BB2.

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

Contrast with #B27BA6

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

Contrast Ratio: 6.28:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B27BA6?

#B27BA6 is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B27BA6?

#B27BA6 in RGB is (178, 123, 166) - 178 red, 123 green, and 166 blue.

How to use #B27BA6 in CSS?

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

What colors go well with #B27BA6?

#7BB287 (complementary), #A27BB2 (analogous), and #8D5381 (lighter shade) work well with #B27BA6.