#B213EC Color Information

Hex color code: #B213EC

The hex color #B213EC is a dynamic purple with RGB values of (178, 19, 236) and HSL of (284°, 85%, 50%). It is typically applied in digital products.

Try:
Color NameDark Violet
HEX
#B213EC
RGB
178, 19, 236
HSL
284°, 85%, 50%
CMYK
25%, 92%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B213EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 19, 236

Red: 178 / Green: 19 / Blue: 236

HSL

284°, 85%, 50%

Hue: 284° / Saturation: 85% / Lightness: 50%

CMYK

25%, 92%, 0%, 7%

Cyan: 25% / Magenta: 92% / Yellow: 0% / Key: 7%

What color is #B213EC?

#B213EC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B213EC to RGB:

rgb(178, 19, 236)HEX to RGB Converter →

HEX to HSL

Convert #B213EC to HSL:

hsl(284, 85%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #B213EC to CMYK:

cmyk(25%, 92%, 0%, 7%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #B213EC has RGB (178, 19, 236) and HSL (284°, 85%, 50%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B213EC is #4DEC13, creating high-contrast pairings. For softer combinations, try analogous colors like #4613EC.

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

Contrast with #B213EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B213EC?

#B213EC is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B213EC?

#B213EC in RGB is (178, 19, 236) - 178 red, 19 green, and 236 blue.

How to use #B213EC in CSS?

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

What colors go well with #B213EC?

#4DEC13 (complementary), #4613EC (analogous), and #7D0DA5 (lighter shade) work well with #B213EC.