#B786EC Color Information

Hex color code: #B786EC

The hex color #B786EC is a vivid purple with RGB values of (183, 134, 236) and HSL of (269°, 73%, 73%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#B786EC
RGB
183, 134, 236
HSL
269°, 73%, 73%
CMYK
22%, 43%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B786EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 134, 236

Red: 183 / Green: 134 / Blue: 236

HSL

269°, 73%, 73%

Hue: 269° / Saturation: 73% / Lightness: 73%

CMYK

22%, 43%, 0%, 7%

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

What color is #B786EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B786EC to RGB:

rgb(183, 134, 236)HEX to RGB Converter →

HEX to HSL

Convert #B786EC to HSL:

hsl(269, 73%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #B786EC to CMYK:

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

Color Meaning and Usage

#B786EC is a bold purple color with RGB values of 183, 134, 236 and HSL of 269°, 73%, 73%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B786EC is #BCEC88, creating high-contrast pairings. For softer combinations, try analogous colors like #888AEC.

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

Contrast with #B786EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B786EC?

#B786EC is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #B786EC?

#B786EC in RGB is (183, 134, 236) - 183 red, 134 green, and 236 blue.

How to use #B786EC in CSS?

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

What colors go well with #B786EC?

#BCEC88 (complementary), #888AEC (analogous), and #9146E2 (lighter shade) work well with #B786EC.