#B21AE0 Color Information

Hex color code: #B21AE0

The hex color #B21AE0 is a vivid magenta with RGB values of (178, 26, 224) and HSL of (286°, 79%, 49%). It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#B21AE0
RGB
178, 26, 224
HSL
286°, 79%, 49%
CMYK
21%, 88%, 0%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B21AE0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 26, 224

Red: 178 / Green: 26 / Blue: 224

HSL

286°, 79%, 49%

Hue: 286° / Saturation: 79% / Lightness: 49%

CMYK

21%, 88%, 0%, 12%

Cyan: 21% / Magenta: 88% / Yellow: 0% / Key: 12%

What color is #B21AE0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B21AE0 to RGB:

rgb(178, 26, 224)HEX to RGB Converter →

HEX to HSL

Convert #B21AE0 to HSL:

hsl(286, 79%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #B21AE0 to CMYK:

cmyk(21%, 88%, 0%, 12%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #B21AE0 has RGB (178, 26, 224) and HSL (286°, 79%, 49%). 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 #B21AE0 is #48E01A, creating high-contrast pairings. For softer combinations, try analogous colors like #4F1AE0.

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

Contrast with #B21AE0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B21AE0?

#B21AE0 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B21AE0?

#B21AE0 in RGB is (178, 26, 224) - 178 red, 26 green, and 224 blue.

How to use #B21AE0 in CSS?

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

What colors go well with #B21AE0?

#48E01A (complementary), #4F1AE0 (analogous), and #7B129B (lighter shade) work well with #B21AE0.