#5218BF Color Information

Hex color code: #5218BF

#5218BF is a striking purple color. In RGB it is (82, 24, 191), and in HSL it is (261°, 78%, 42%). It is often used for branding and logos.

Try:
Color NameRebecca Purple
HEX
#5218BF
RGB
82, 24, 191
HSL
261°, 78%, 42%
CMYK
57%, 87%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #5218BF; 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 #5218BF; background-color: #5218BF15; }

Alert / Toast

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

Link / Accent

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

a { color: #5218BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5218BF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 24, 191

Red: 82 / Green: 24 / Blue: 191

HSL

261°, 78%, 42%

Hue: 261° / Saturation: 78% / Lightness: 42%

CMYK

57%, 87%, 0%, 25%

Cyan: 57% / Magenta: 87% / Yellow: 0% / Key: 25%

What color is #5218BF?

#5218BF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5218BF to RGB:

rgb(82, 24, 191)HEX to RGB Converter →

HEX to HSL

Convert #5218BF to HSL:

hsl(261, 78%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #5218BF to CMYK:

cmyk(57%, 87%, 0%, 25%)Color Converter →

Color Meaning and Usage

#5218BF is a striking purple color with RGB values of 82, 24, 191 and HSL of 261°, 78%, 42%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5218BF is #84BF18, creating high-contrast pairings. For softer combinations, try analogous colors like #1831BF.

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

Contrast with #5218BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5218BF?

#5218BF is a striking purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5218BF?

#5218BF in RGB is (82, 24, 191) - 82 red, 24 green, and 191 blue.

How to use #5218BF in CSS?

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

What colors go well with #5218BF?

#84BF18 (complementary), #1831BF (analogous), and #350F7B (lighter shade) work well with #5218BF.