#AF91EF Color Information

Hex color code: #AF91EF

#AF91EF is a striking purple color. In RGB it is (175, 145, 239), and in HSL it is (259°, 75%, 75%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AF91EF
RGB
175, 145, 239
HSL
259°, 75%, 75%
CMYK
27%, 39%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF91EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 145, 239

Red: 175 / Green: 145 / Blue: 239

HSL

259°, 75%, 75%

Hue: 259° / Saturation: 75% / Lightness: 75%

CMYK

27%, 39%, 0%, 6%

Cyan: 27% / Magenta: 39% / Yellow: 0% / Key: 6%

What color is #AF91EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF91EF to RGB:

rgb(175, 145, 239)HEX to RGB Converter →

HEX to HSL

Convert #AF91EF to HSL:

hsl(259, 75%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #AF91EF to CMYK:

cmyk(27%, 39%, 0%, 6%)Color Converter →

Color Meaning and Usage

A striking purple tone, #AF91EF has RGB (175, 145, 239) and HSL (259°, 75%, 75%). 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 #AF91EF is #D1EF8F, creating high-contrast pairings. For softer combinations, try analogous colors like #8FA1EF.

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

Contrast with #AF91EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF91EF?

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

What is the RGB value of #AF91EF?

#AF91EF in RGB is (175, 145, 239) - 175 red, 145 green, and 239 blue.

How to use #AF91EF in CSS?

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

What colors go well with #AF91EF?

#D1EF8F (complementary), #8FA1EF (analogous), and #7D4CE6 (lighter shade) work well with #AF91EF.