#B18EC2 Color Information

Hex color code: #B18EC2

#B18EC2 is a subtle purple color. In RGB it is (177, 142, 194), and in HSL it is (280°, 30%, 66%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#B18EC2
RGB
177, 142, 194
HSL
280°, 30%, 66%
CMYK
9%, 27%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B18EC2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 142, 194

Red: 177 / Green: 142 / Blue: 194

HSL

280°, 30%, 66%

Hue: 280° / Saturation: 30% / Lightness: 66%

CMYK

9%, 27%, 0%, 24%

Cyan: 9% / Magenta: 27% / Yellow: 0% / Key: 24%

What color is #B18EC2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B18EC2 to RGB:

rgb(177, 142, 194)HEX to RGB Converter →

HEX to HSL

Convert #B18EC2 to HSL:

hsl(280, 30%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #B18EC2 to CMYK:

cmyk(9%, 27%, 0%, 24%)Color Converter →

Color Meaning and Usage

#B18EC2 is a delicate purple color with RGB values of 177, 142, 194 and HSL of 280°, 30%, 66%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B18EC2 is #A0C28E, creating high-contrast pairings. For softer combinations, try analogous colors like #978EC2.

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

Contrast with #B18EC2

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

Contrast Ratio: 7.52:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B18EC2?

#B18EC2 is a delicate purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B18EC2?

#B18EC2 in RGB is (177, 142, 194) - 177 red, 142 green, and 194 blue.

How to use #B18EC2 in CSS?

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

What colors go well with #B18EC2?

#A0C28E (complementary), #978EC2 (analogous), and #8F5DA8 (lighter shade) work well with #B18EC2.