#521FEA Color Information

Hex color code: #521FEA

#521FEA is a vivid purple color. In RGB it is (82, 31, 234), and in HSL it is (255°, 83%, 52%). It is commonly used in modern UI design.

Try:
Color NameBlue Violet
HEX
#521FEA
RGB
82, 31, 234
HSL
255°, 83%, 52%
CMYK
65%, 87%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #521FEA; 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 #521FEA; background-color: #521FEA15; }

Alert / Toast

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

Link / Accent

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

a { color: #521FEA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #521FEA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 31, 234

Red: 82 / Green: 31 / Blue: 234

HSL

255°, 83%, 52%

Hue: 255° / Saturation: 83% / Lightness: 52%

CMYK

65%, 87%, 0%, 8%

Cyan: 65% / Magenta: 87% / Yellow: 0% / Key: 8%

What color is #521FEA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #521FEA to RGB:

rgb(82, 31, 234)HEX to RGB Converter →

HEX to HSL

Convert #521FEA to HSL:

hsl(255, 83%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #521FEA to CMYK:

cmyk(65%, 87%, 0%, 8%)Color Converter →

Color Meaning and Usage

A bold purple tone, #521FEA has RGB (82, 31, 234) and HSL (255°, 83%, 52%). Known for evoking energy and excitement, this highly saturated hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #521FEA is #B7EA1F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F52EA.

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

Contrast with #521FEA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #521FEA?

#521FEA is a bold purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #521FEA?

#521FEA in RGB is (82, 31, 234) - 82 red, 31 green, and 234 blue.

How to use #521FEA in CSS?

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

What colors go well with #521FEA?

#B7EA1F (complementary), #1F52EA (analogous), and #3710AD (lighter shade) work well with #521FEA.