#A31FEF Color Information

Hex color code: #A31FEF

The hex color #A31FEF is a dynamic purple with RGB values of (163, 31, 239) and HSL of (278°, 87%, 53%). It is widely used in graphic design.

Try:
Color NameBlue Violet
HEX
#A31FEF
RGB
163, 31, 239
HSL
278°, 87%, 53%
CMYK
32%, 87%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A31FEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

163, 31, 239

Red: 163 / Green: 31 / Blue: 239

HSL

278°, 87%, 53%

Hue: 278° / Saturation: 87% / Lightness: 53%

CMYK

32%, 87%, 0%, 6%

Cyan: 32% / Magenta: 87% / Yellow: 0% / Key: 6%

What color is #A31FEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A31FEF to RGB:

rgb(163, 31, 239)HEX to RGB Converter →

HEX to HSL

Convert #A31FEF to HSL:

hsl(278, 87%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #A31FEF to CMYK:

cmyk(32%, 87%, 0%, 6%)Color Converter →

Color Meaning and Usage

A striking purple tone, #A31FEF has RGB (163, 31, 239) and HSL (278°, 87%, 53%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A31FEF is #6BEF1F, creating high-contrast pairings. For softer combinations, try analogous colors like #3B1FEF.

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

Contrast with #A31FEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A31FEF?

#A31FEF is a striking purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #A31FEF?

#A31FEF in RGB is (163, 31, 239) - 163 red, 31 green, and 239 blue.

How to use #A31FEF in CSS?

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

What colors go well with #A31FEF?

#6BEF1F (complementary), #3B1FEF (analogous), and #770DB5 (lighter shade) work well with #A31FEF.