#AF89E8 Color Information

Hex color code: #AF89E8

The hex color #AF89E8 is a calming purple with RGB values of (175, 137, 232) and HSL of (264°, 67%, 72%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#AF89E8
RGB
175, 137, 232
HSL
264°, 67%, 72%
CMYK
25%, 41%, 0%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF89E8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 137, 232

Red: 175 / Green: 137 / Blue: 232

HSL

264°, 67%, 72%

Hue: 264° / Saturation: 67% / Lightness: 72%

CMYK

25%, 41%, 0%, 9%

Cyan: 25% / Magenta: 41% / Yellow: 0% / Key: 9%

What color is #AF89E8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF89E8 to RGB:

rgb(175, 137, 232)HEX to RGB Converter →

HEX to HSL

Convert #AF89E8 to HSL:

hsl(264, 67%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #AF89E8 to CMYK:

cmyk(25%, 41%, 0%, 9%)Color Converter →

Color Meaning and Usage

A cool purple tone, #AF89E8 has RGB (175, 137, 232) and HSL (264°, 67%, 72%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF89E8 is #C1E788, creating high-contrast pairings. For softer combinations, try analogous colors like #8891E7.

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

Contrast with #AF89E8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF89E8?

#AF89E8 is a cool purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AF89E8?

#AF89E8 in RGB is (175, 137, 232) - 175 red, 137 green, and 232 blue.

How to use #AF89E8 in CSS?

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

What colors go well with #AF89E8?

#C1E788 (complementary), #8891E7 (analogous), and #8348DB (lighter shade) work well with #AF89E8.