#B45FEC Color Information

Hex color code: #B45FEC

#B45FEC is a striking purple color. In RGB it is (180, 95, 236), and in HSL it is (276°, 79%, 65%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#B45FEC
RGB
180, 95, 236
HSL
276°, 79%, 65%
CMYK
24%, 60%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B45FEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 95, 236

Red: 180 / Green: 95 / Blue: 236

HSL

276°, 79%, 65%

Hue: 276° / Saturation: 79% / Lightness: 65%

CMYK

24%, 60%, 0%, 7%

Cyan: 24% / Magenta: 60% / Yellow: 0% / Key: 7%

What color is #B45FEC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B45FEC to RGB:

rgb(180, 95, 236)HEX to RGB Converter →

HEX to HSL

Convert #B45FEC to HSL:

hsl(276, 79%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #B45FEC to CMYK:

cmyk(24%, 60%, 0%, 7%)Color Converter →

Color Meaning and Usage

#B45FEC is a vivid purple color with RGB values of 180, 95, 236 and HSL of 276°, 79%, 65%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B45FEC is #98EC5F, creating high-contrast pairings. For softer combinations, try analogous colors like #6D5FEC.

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

Contrast with #B45FEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B45FEC?

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

What is the RGB value of #B45FEC?

#B45FEC in RGB is (180, 95, 236) - 180 red, 95 green, and 236 blue.

How to use #B45FEC in CSS?

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

What colors go well with #B45FEC?

#98EC5F (complementary), #6D5FEC (analogous), and #941BE4 (lighter shade) work well with #B45FEC.