#B040ED Color Information

Hex color code: #B040ED

A dynamic purple shade, #B040ED appears as (176, 64, 237) in RGB and (279°, 83%, 59%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#B040ED
RGB
176, 64, 237
HSL
279°, 83%, 59%
CMYK
26%, 73%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B040ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

176, 64, 237

Red: 176 / Green: 64 / Blue: 237

HSL

279°, 83%, 59%

Hue: 279° / Saturation: 83% / Lightness: 59%

CMYK

26%, 73%, 0%, 7%

Cyan: 26% / Magenta: 73% / Yellow: 0% / Key: 7%

What color is #B040ED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B040ED to RGB:

rgb(176, 64, 237)HEX to RGB Converter →

HEX to HSL

Convert #B040ED to HSL:

hsl(279, 83%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #B040ED to CMYK:

cmyk(26%, 73%, 0%, 7%)Color Converter →

Color Meaning and Usage

A eye-catching purple tone, #B040ED has RGB (176, 64, 237) and HSL (279°, 83%, 59%). Known for evoking energy and excitement, this highly saturated hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B040ED is #7CED40, creating high-contrast pairings. For softer combinations, try analogous colors like #5A40ED.

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

Contrast with #B040ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B040ED?

#B040ED is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B040ED?

#B040ED in RGB is (176, 64, 237) - 176 red, 64 green, and 237 blue.

How to use #B040ED in CSS?

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

What colors go well with #B040ED?

#7CED40 (complementary), #5A40ED (analogous), and #8C13CD (lighter shade) work well with #B040ED.