#B526AB Color Information

Hex color code: #B526AB

#B526AB is a neutral magenta color. In RGB it is (181, 38, 171), and in HSL it is (304°, 65%, 43%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#B526AB
RGB
181, 38, 171
HSL
304°, 65%, 43%
CMYK
0%, 79%, 6%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B526AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

181, 38, 171

Red: 181 / Green: 38 / Blue: 171

HSL

304°, 65%, 43%

Hue: 304° / Saturation: 65% / Lightness: 43%

CMYK

0%, 79%, 6%, 29%

Cyan: 0% / Magenta: 79% / Yellow: 6% / Key: 29%

What color is #B526AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B526AB to RGB:

rgb(181, 38, 171)HEX to RGB Converter →

HEX to HSL

Convert #B526AB to HSL:

hsl(304, 65%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #B526AB to CMYK:

cmyk(0%, 79%, 6%, 29%)Color Converter →

Color Meaning and Usage

#B526AB is a neutral magenta color with RGB values of 181, 38, 171 and HSL of 304°, 65%, 43%. 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 #B526AB is #26B530, creating high-contrast pairings. For softer combinations, try analogous colors like #7726B5.

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

Contrast with #B526AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B526AB?

#B526AB is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B526AB?

#B526AB in RGB is (181, 38, 171) - 181 red, 38 green, and 171 blue.

How to use #B526AB in CSS?

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

What colors go well with #B526AB?

#26B530 (complementary), #7726B5 (analogous), and #761970 (lighter shade) work well with #B526AB.