#AF8EE1 Color Information

Hex color code: #AF8EE1

#AF8EE1 is a serene purple color. In RGB it is (175, 142, 225), and in HSL it is (264°, 58%, 72%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AF8EE1
RGB
175, 142, 225
HSL
264°, 58%, 72%
CMYK
22%, 37%, 0%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8EE1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 142, 225

Red: 175 / Green: 142 / Blue: 225

HSL

264°, 58%, 72%

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

CMYK

22%, 37%, 0%, 12%

Cyan: 22% / Magenta: 37% / Yellow: 0% / Key: 12%

What color is #AF8EE1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8EE1 to RGB:

rgb(175, 142, 225)HEX to RGB Converter →

HEX to HSL

Convert #AF8EE1 to HSL:

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

HEX to CMYK

Convert #AF8EE1 to CMYK:

cmyk(22%, 37%, 0%, 12%)Color Converter →

Color Meaning and Usage

#AF8EE1 is a cool purple color with RGB values of 175, 142, 225 and HSL of 264°, 58%, 72%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8EE1 is #C0E18E, creating high-contrast pairings. For softer combinations, try analogous colors like #8E96E1.

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

Contrast with #AF8EE1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8EE1?

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

What is the RGB value of #AF8EE1?

#AF8EE1 in RGB is (175, 142, 225) - 175 red, 142 green, and 225 blue.

How to use #AF8EE1 in CSS?

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

What colors go well with #AF8EE1?

#C0E18E (complementary), #8E96E1 (analogous), and #8552D1 (lighter shade) work well with #AF8EE1.