#B31AFF Color Information

Hex color code: #B31AFF

A vivid purple shade, #B31AFF appears as (179, 26, 255) in RGB and (280°, 100%, 55%) in HSL. It is commonly used in modern UI design.

Try:
Color NameBlue Violet
HEX
#B31AFF
RGB
179, 26, 255
HSL
280°, 100%, 55%
CMYK
30%, 90%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B31AFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 26, 255

Red: 179 / Green: 26 / Blue: 255

HSL

280°, 100%, 55%

Hue: 280° / Saturation: 100% / Lightness: 55%

CMYK

30%, 90%, 0%, 0%

Cyan: 30% / Magenta: 90% / Yellow: 0% / Key: 0%

What color is #B31AFF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B31AFF to RGB:

rgb(179, 26, 255)HEX to RGB Converter →

HEX to HSL

Convert #B31AFF to HSL:

hsl(280, 100%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #B31AFF to CMYK:

cmyk(30%, 90%, 0%, 0%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #B31AFF has RGB (179, 26, 255) and HSL (280°, 100%, 55%). Known for evoking energy and excitement, this highly saturated hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B31AFF is #66FF1A, creating high-contrast pairings. For softer combinations, try analogous colors like #401AFF.

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

Contrast with #B31AFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B31AFF?

#B31AFF is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B31AFF?

#B31AFF in RGB is (179, 26, 255) - 179 red, 26 green, and 255 blue.

How to use #B31AFF in CSS?

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

What colors go well with #B31AFF?

#66FF1A (complementary), #401AFF (analogous), and #8800CC (lighter shade) work well with #B31AFF.