#B27CEF Color Information

Hex color code: #B27CEF

#B27CEF is a striking purple color. In RGB it is (178, 124, 239), and in HSL it is (268°, 78%, 71%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#B27CEF
RGB
178, 124, 239
HSL
268°, 78%, 71%
CMYK
26%, 48%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B27CEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 124, 239

Red: 178 / Green: 124 / Blue: 239

HSL

268°, 78%, 71%

Hue: 268° / Saturation: 78% / Lightness: 71%

CMYK

26%, 48%, 0%, 6%

Cyan: 26% / Magenta: 48% / Yellow: 0% / Key: 6%

What color is #B27CEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B27CEF to RGB:

rgb(178, 124, 239)HEX to RGB Converter →

HEX to HSL

Convert #B27CEF to HSL:

hsl(268, 78%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #B27CEF to CMYK:

cmyk(26%, 48%, 0%, 6%)Color Converter →

Color Meaning and Usage

#B27CEF is a dynamic purple color with RGB values of 178, 124, 239 and HSL of 268°, 78%, 71%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B27CEF is #B9EF7B, creating high-contrast pairings. For softer combinations, try analogous colors like #7B7FEF.

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

Contrast with #B27CEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B27CEF?

#B27CEF is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #B27CEF?

#B27CEF in RGB is (178, 124, 239) - 178 red, 124 green, and 239 blue.

How to use #B27CEF in CSS?

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

What colors go well with #B27CEF?

#B9EF7B (complementary), #7B7FEF (analogous), and #8937E6 (lighter shade) work well with #B27CEF.