#B271BC Color Information

Hex color code: #B271BC

The hex color #B271BC is a gentle magenta with RGB values of (178, 113, 188) and HSL of (292°, 36%, 59%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#B271BC
RGB
178, 113, 188
HSL
292°, 36%, 59%
CMYK
5%, 40%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B271BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 113, 188

Red: 178 / Green: 113 / Blue: 188

HSL

292°, 36%, 59%

Hue: 292° / Saturation: 36% / Lightness: 59%

CMYK

5%, 40%, 0%, 26%

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

What color is #B271BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B271BC to RGB:

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

HEX to HSL

Convert #B271BC to HSL:

hsl(292, 36%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #B271BC to CMYK:

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

Color Meaning and Usage

A soft magenta tone, #B271BC has RGB (178, 113, 188) and HSL (292°, 36%, 59%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B271BC is #7BBC71, creating high-contrast pairings. For softer combinations, try analogous colors like #8C71BC.

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

Contrast with #B271BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B271BC?

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

What is the RGB value of #B271BC?

#B271BC in RGB is (178, 113, 188) - 178 red, 113 green, and 188 blue.

How to use #B271BC in CSS?

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

What colors go well with #B271BC?

#7BBC71 (complementary), #8C71BC (analogous), and #8E4899 (lighter shade) work well with #B271BC.