#B842EB Color Information

Hex color code: #B842EB

A dynamic purple shade, #B842EB appears as (184, 66, 235) in RGB and (282°, 81%, 59%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#B842EB
RGB
184, 66, 235
HSL
282°, 81%, 59%
CMYK
22%, 72%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B842EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

184, 66, 235

Red: 184 / Green: 66 / Blue: 235

HSL

282°, 81%, 59%

Hue: 282° / Saturation: 81% / Lightness: 59%

CMYK

22%, 72%, 0%, 8%

Cyan: 22% / Magenta: 72% / Yellow: 0% / Key: 8%

What color is #B842EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B842EB to RGB:

rgb(184, 66, 235)HEX to RGB Converter →

HEX to HSL

Convert #B842EB to HSL:

hsl(282, 81%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #B842EB to CMYK:

cmyk(22%, 72%, 0%, 8%)Color Converter →

Color Meaning and Usage

#B842EB is a dynamic purple color with RGB values of 184, 66, 235 and HSL of 282°, 81%, 59%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B842EB is #75EB42, creating high-contrast pairings. For softer combinations, try analogous colors like #6442EB.

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

Contrast with #B842EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B842EB?

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

What is the RGB value of #B842EB?

#B842EB in RGB is (184, 66, 235) - 184 red, 66 green, and 235 blue.

How to use #B842EB in CSS?

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

What colors go well with #B842EB?

#75EB42 (complementary), #6442EB (analogous), and #9515CB (lighter shade) work well with #B842EB.