#B227BE Color Information

Hex color code: #B227BE

A muted magenta shade, #B227BE appears as (178, 39, 190) in RGB and (295°, 66%, 45%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Orchid
HEX
#B227BE
RGB
178, 39, 190
HSL
295°, 66%, 45%
CMYK
6%, 79%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #B227BE; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #B227BE; color: #FFFFFF; }

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 #B227BE; background-color: #B227BE15; }

Alert / Toast

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

Link / Accent

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

a { color: #B227BE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 39, 190

Red: 178 / Green: 39 / Blue: 190

HSL

295°, 66%, 45%

Hue: 295° / Saturation: 66% / Lightness: 45%

CMYK

6%, 79%, 0%, 25%

Cyan: 6% / Magenta: 79% / Yellow: 0% / Key: 25%

What color is #B227BE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B227BE to RGB:

rgb(178, 39, 190)HEX to RGB Converter →

HEX to HSL

Convert #B227BE to HSL:

hsl(295, 66%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #B227BE to CMYK:

cmyk(6%, 79%, 0%, 25%)Color Converter →

Color Meaning and Usage

#B227BE is a muted magenta color with RGB values of 178, 39, 190 and HSL of 295°, 66%, 45%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B227BE is #34BE27, creating high-contrast pairings. For softer combinations, try analogous colors like #6627BE.

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

Contrast with #B227BE

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

Contrast Ratio: 3.93:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B227BE?

#B227BE is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B227BE?

#B227BE in RGB is (178, 39, 190) - 178 red, 39 green, and 190 blue.

How to use #B227BE in CSS?

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

What colors go well with #B227BE?

#34BE27 (complementary), #6627BE (analogous), and #771A7F (lighter shade) work well with #B227BE.