#B981F2 Color Information

Hex color code: #B981F2

#B981F2 is a bold purple color. In RGB it is (185, 129, 242), and in HSL it is (270°, 81%, 73%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#B981F2
RGB
185, 129, 242
HSL
270°, 81%, 73%
CMYK
24%, 47%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B981F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 129, 242

Red: 185 / Green: 129 / Blue: 242

HSL

270°, 81%, 73%

Hue: 270° / Saturation: 81% / Lightness: 73%

CMYK

24%, 47%, 0%, 5%

Cyan: 24% / Magenta: 47% / Yellow: 0% / Key: 5%

What color is #B981F2?

#B981F2 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B981F2 to RGB:

rgb(185, 129, 242)HEX to RGB Converter →

HEX to HSL

Convert #B981F2 to HSL:

hsl(270, 81%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #B981F2 to CMYK:

cmyk(24%, 47%, 0%, 5%)Color Converter →

Color Meaning and Usage

#B981F2 is a vivid purple color with RGB values of 185, 129, 242 and HSL of 270°, 81%, 73%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B981F2 is #BAF282, creating high-contrast pairings. For softer combinations, try analogous colors like #8282F2.

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

Contrast with #B981F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B981F2?

#B981F2 is a vivid purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B981F2?

#B981F2 in RGB is (185, 129, 242) - 185 red, 129 green, and 242 blue.

How to use #B981F2 in CSS?

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

What colors go well with #B981F2?

#BAF282 (complementary), #8282F2 (analogous), and #943DEB (lighter shade) work well with #B981F2.