#AF81EA Color Information

Hex color code: #AF81EA

The hex color #AF81EA is a eye-catching purple with RGB values of (175, 129, 234) and HSL of (266°, 71%, 71%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AF81EA
RGB
175, 129, 234
HSL
266°, 71%, 71%
CMYK
25%, 45%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF81EA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 129, 234

Red: 175 / Green: 129 / Blue: 234

HSL

266°, 71%, 71%

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

CMYK

25%, 45%, 0%, 8%

Cyan: 25% / Magenta: 45% / Yellow: 0% / Key: 8%

What color is #AF81EA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF81EA to RGB:

rgb(175, 129, 234)HEX to RGB Converter →

HEX to HSL

Convert #AF81EA to HSL:

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

HEX to CMYK

Convert #AF81EA to CMYK:

cmyk(25%, 45%, 0%, 8%)Color Converter →

Color Meaning and Usage

#AF81EA is a dynamic purple color with RGB values of 175, 129, 234 and HSL of 266°, 71%, 71%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF81EA is #BCEA81, creating high-contrast pairings. For softer combinations, try analogous colors like #8188EA.

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

Contrast with #AF81EA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF81EA?

#AF81EA is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF81EA?

#AF81EA in RGB is (175, 129, 234) - 175 red, 129 green, and 234 blue.

How to use #AF81EA in CSS?

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

What colors go well with #AF81EA?

#BCEA81 (complementary), #8188EA (analogous), and #843FDE (lighter shade) work well with #AF81EA.