#B387ED Color Information

Hex color code: #B387ED

A vivid purple shade, #B387ED appears as (179, 135, 237) in RGB and (266°, 74%, 73%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#B387ED
RGB
179, 135, 237
HSL
266°, 74%, 73%
CMYK
24%, 43%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B387ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 135, 237

Red: 179 / Green: 135 / Blue: 237

HSL

266°, 74%, 73%

Hue: 266° / Saturation: 74% / Lightness: 73%

CMYK

24%, 43%, 0%, 7%

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

What color is #B387ED?

#B387ED is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B387ED to RGB:

rgb(179, 135, 237)HEX to RGB Converter →

HEX to HSL

Convert #B387ED to HSL:

hsl(266, 74%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #B387ED to CMYK:

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

Color Meaning and Usage

A eye-catching purple tone, #B387ED has RGB (179, 135, 237) and HSL (266°, 74%, 73%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B387ED is #C1ED87, creating high-contrast pairings. For softer combinations, try analogous colors like #878EED.

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

Contrast with #B387ED

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 #B387ED?

#B387ED is a eye-catching purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #B387ED?

#B387ED in RGB is (179, 135, 237) - 179 red, 135 green, and 237 blue.

How to use #B387ED in CSS?

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

What colors go well with #B387ED?

#C1ED87 (complementary), #878EED (analogous), and #8945E3 (lighter shade) work well with #B387ED.