#AF80EB Color Information

Hex color code: #AF80EB

A striking purple shade, #AF80EB appears as (175, 128, 235) in RGB and (266°, 73%, 71%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AF80EB
RGB
175, 128, 235
HSL
266°, 73%, 71%
CMYK
26%, 46%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AF80EB; color: #000000; }

Badge

New Feature
.badge { background-color: #AF80EB; color: #000000; }

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 #AF80EB; background-color: #AF80EB15; }

Alert / Toast

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

Link / Accent

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

a { color: #AF80EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 128, 235

Red: 175 / Green: 128 / Blue: 235

HSL

266°, 73%, 71%

Hue: 266° / Saturation: 73% / Lightness: 71%

CMYK

26%, 46%, 0%, 8%

Cyan: 26% / Magenta: 46% / Yellow: 0% / Key: 8%

What color is #AF80EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF80EB to RGB:

rgb(175, 128, 235)HEX to RGB Converter →

HEX to HSL

Convert #AF80EB to HSL:

hsl(266, 73%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #AF80EB to CMYK:

cmyk(26%, 46%, 0%, 8%)Color Converter →

Color Meaning and Usage

A vivid purple tone, #AF80EB has RGB (175, 128, 235) and HSL (266°, 73%, 71%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF80EB is #BCEB7F, creating high-contrast pairings. For softer combinations, try analogous colors like #7F86EB.

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

Contrast with #AF80EB

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

Contrast Ratio: 7.11:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF80EB?

#AF80EB is a vivid purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF80EB?

#AF80EB in RGB is (175, 128, 235) - 175 red, 128 green, and 235 blue.

How to use #AF80EB in CSS?

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

What colors go well with #AF80EB?

#BCEB7F (complementary), #7F86EB (analogous), and #843DE1 (lighter shade) work well with #AF80EB.