#B51FD6 Color Information

Hex color code: #B51FD6

A eye-catching magenta shade, #B51FD6 appears as (181, 31, 214) in RGB and (289°, 75%, 48%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#B51FD6
RGB
181, 31, 214
HSL
289°, 75%, 48%
CMYK
15%, 86%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B51FD6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

181, 31, 214

Red: 181 / Green: 31 / Blue: 214

HSL

289°, 75%, 48%

Hue: 289° / Saturation: 75% / Lightness: 48%

CMYK

15%, 86%, 0%, 16%

Cyan: 15% / Magenta: 86% / Yellow: 0% / Key: 16%

What color is #B51FD6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B51FD6 to RGB:

rgb(181, 31, 214)HEX to RGB Converter →

HEX to HSL

Convert #B51FD6 to HSL:

hsl(289, 75%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #B51FD6 to CMYK:

cmyk(15%, 86%, 0%, 16%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #B51FD6 has RGB (181, 31, 214) and HSL (289°, 75%, 48%). 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 #B51FD6 is #40D61F, creating high-contrast pairings. For softer combinations, try analogous colors like #591FD6.

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

Contrast with #B51FD6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B51FD6?

#B51FD6 is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B51FD6?

#B51FD6 in RGB is (181, 31, 214) - 181 red, 31 green, and 214 blue.

How to use #B51FD6 in CSS?

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

What colors go well with #B51FD6?

#40D61F (complementary), #591FD6 (analogous), and #7C1593 (lighter shade) work well with #B51FD6.