#B18ECC Color Information

Hex color code: #B18ECC

#B18ECC is a subtle purple color. In RGB it is (177, 142, 204), and in HSL it is (274°, 38%, 68%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#B18ECC
RGB
177, 142, 204
HSL
274°, 38%, 68%
CMYK
13%, 30%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B18ECC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 142, 204

Red: 177 / Green: 142 / Blue: 204

HSL

274°, 38%, 68%

Hue: 274° / Saturation: 38% / Lightness: 68%

CMYK

13%, 30%, 0%, 20%

Cyan: 13% / Magenta: 30% / Yellow: 0% / Key: 20%

What color is #B18ECC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B18ECC to RGB:

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

HEX to HSL

Convert #B18ECC to HSL:

hsl(274, 38%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #B18ECC to CMYK:

cmyk(13%, 30%, 0%, 20%)Color Converter →

Color Meaning and Usage

A pastel purple tone, #B18ECC has RGB (177, 142, 204) and HSL (274°, 38%, 68%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B18ECC is #A9CC8E, creating high-contrast pairings. For softer combinations, try analogous colors like #938ECC.

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

Contrast with #B18ECC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B18ECC?

#B18ECC is a pastel purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B18ECC?

#B18ECC in RGB is (177, 142, 204) - 177 red, 142 green, and 204 blue.

How to use #B18ECC in CSS?

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

What colors go well with #B18ECC?

#A9CC8E (complementary), #938ECC (analogous), and #8D5AB5 (lighter shade) work well with #B18ECC.