#5017AB Color Information

Hex color code: #5017AB

A striking purple shade, #5017AB appears as (80, 23, 171) in RGB and (263°, 76%, 38%) in HSL. It is often used for branding and logos.

Try:
Color NameRebecca Purple
HEX
#5017AB
RGB
80, 23, 171
HSL
263°, 76%, 38%
CMYK
53%, 87%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #5017AB; 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 #5017AB; background-color: #5017AB15; }

Alert / Toast

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

Link / Accent

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

a { color: #5017AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5017AB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 23, 171

Red: 80 / Green: 23 / Blue: 171

HSL

263°, 76%, 38%

Hue: 263° / Saturation: 76% / Lightness: 38%

CMYK

53%, 87%, 0%, 33%

Cyan: 53% / Magenta: 87% / Yellow: 0% / Key: 33%

What color is #5017AB?

#5017AB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5017AB to RGB:

rgb(80, 23, 171)HEX to RGB Converter →

HEX to HSL

Convert #5017AB to HSL:

hsl(263, 76%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #5017AB to CMYK:

cmyk(53%, 87%, 0%, 33%)Color Converter →

Color Meaning and Usage

A striking purple tone, #5017AB has RGB (80, 23, 171) and HSL (263°, 76%, 38%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5017AB is #72AB17, creating high-contrast pairings. For softer combinations, try analogous colors like #1728AB.

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

Contrast with #5017AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5017AB?

#5017AB is a striking purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5017AB?

#5017AB in RGB is (80, 23, 171) - 80 red, 23 green, and 171 blue.

How to use #5017AB in CSS?

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

What colors go well with #5017AB?

#72AB17 (complementary), #1728AB (analogous), and #300E67 (lighter shade) work well with #5017AB.