#B27DCF Color Information

Hex color code: #B27DCF

A delicate purple shade, #B27DCF appears as (178, 125, 207) in RGB and (279°, 46%, 65%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#B27DCF
RGB
178, 125, 207
HSL
279°, 46%, 65%
CMYK
14%, 40%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B27DCF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 125, 207

Red: 178 / Green: 125 / Blue: 207

HSL

279°, 46%, 65%

Hue: 279° / Saturation: 46% / Lightness: 65%

CMYK

14%, 40%, 0%, 19%

Cyan: 14% / Magenta: 40% / Yellow: 0% / Key: 19%

What color is #B27DCF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B27DCF to RGB:

rgb(178, 125, 207)HEX to RGB Converter →

HEX to HSL

Convert #B27DCF to HSL:

hsl(279, 46%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #B27DCF to CMYK:

cmyk(14%, 40%, 0%, 19%)Color Converter →

Color Meaning and Usage

A soft purple tone, #B27DCF has RGB (178, 125, 207) and HSL (279°, 46%, 65%). 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 #B27DCF is #99CF7D, creating high-contrast pairings. For softer combinations, try analogous colors like #897DCF.

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

Contrast with #B27DCF

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

Contrast Ratio: 6.73:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B27DCF?

#B27DCF is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B27DCF?

#B27DCF in RGB is (178, 125, 207) - 178 red, 125 green, and 207 blue.

How to use #B27DCF in CSS?

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

What colors go well with #B27DCF?

#99CF7D (complementary), #897DCF (analogous), and #9145BA (lighter shade) work well with #B27DCF.