#B45CEB Color Information

Hex color code: #B45CEB

The hex color #B45CEB is a bold purple with RGB values of (180, 92, 235) and HSL of (277°, 78%, 64%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#B45CEB
RGB
180, 92, 235
HSL
277°, 78%, 64%
CMYK
23%, 61%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B45CEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 92, 235

Red: 180 / Green: 92 / Blue: 235

HSL

277°, 78%, 64%

Hue: 277° / Saturation: 78% / Lightness: 64%

CMYK

23%, 61%, 0%, 8%

Cyan: 23% / Magenta: 61% / Yellow: 0% / Key: 8%

What color is #B45CEB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B45CEB to RGB:

rgb(180, 92, 235)HEX to RGB Converter →

HEX to HSL

Convert #B45CEB to HSL:

hsl(277, 78%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #B45CEB to CMYK:

cmyk(23%, 61%, 0%, 8%)Color Converter →

Color Meaning and Usage

#B45CEB is a bold purple color with RGB values of 180, 92, 235 and HSL of 277°, 78%, 64%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B45CEB is #92EB5C, creating high-contrast pairings. For softer combinations, try analogous colors like #6C5CEB.

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

Contrast with #B45CEB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B45CEB?

#B45CEB is a bold purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B45CEB?

#B45CEB in RGB is (180, 92, 235) - 180 red, 92 green, and 235 blue.

How to use #B45CEB in CSS?

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

What colors go well with #B45CEB?

#92EB5C (complementary), #6C5CEB (analogous), and #941BDE (lighter shade) work well with #B45CEB.