#B828B1 Color Information

Hex color code: #B828B1

The hex color #B828B1 is a muted magenta with RGB values of (184, 40, 177) and HSL of (303°, 64%, 44%). It is widely used in graphic design.

Try:
Color NameViolet Red
HEX
#B828B1
RGB
184, 40, 177
HSL
303°, 64%, 44%
CMYK
0%, 78%, 4%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #B828B1; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #B828B1; color: #FFFFFF; }

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 #B828B1; background-color: #B828B115; }

Alert / Toast

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

Link / Accent

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

a { color: #B828B1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

184, 40, 177

Red: 184 / Green: 40 / Blue: 177

HSL

303°, 64%, 44%

Hue: 303° / Saturation: 64% / Lightness: 44%

CMYK

0%, 78%, 4%, 28%

Cyan: 0% / Magenta: 78% / Yellow: 4% / Key: 28%

What color is #B828B1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B828B1 to RGB:

rgb(184, 40, 177)HEX to RGB Converter →

HEX to HSL

Convert #B828B1 to HSL:

hsl(303, 64%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #B828B1 to CMYK:

cmyk(0%, 78%, 4%, 28%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #B828B1 has RGB (184, 40, 177) and HSL (303°, 64%, 44%). 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 #B828B1 is #28B830, creating high-contrast pairings. For softer combinations, try analogous colors like #7728B8.

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

Contrast with #B828B1

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

Contrast Ratio: 3.98:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B828B1?

#B828B1 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B828B1?

#B828B1 in RGB is (184, 40, 177) - 184 red, 40 green, and 177 blue.

How to use #B828B1 in CSS?

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

What colors go well with #B828B1?

#28B830 (complementary), #7728B8 (analogous), and #791B75 (lighter shade) work well with #B828B1.