#AF8FC9 Color Information

Hex color code: #AF8FC9

#AF8FC9 is a soft purple color. In RGB it is (175, 143, 201), and in HSL it is (273°, 35%, 67%). It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AF8FC9
RGB
175, 143, 201
HSL
273°, 35%, 67%
CMYK
13%, 29%, 0%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8FC9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 143, 201

Red: 175 / Green: 143 / Blue: 201

HSL

273°, 35%, 67%

Hue: 273° / Saturation: 35% / Lightness: 67%

CMYK

13%, 29%, 0%, 21%

Cyan: 13% / Magenta: 29% / Yellow: 0% / Key: 21%

What color is #AF8FC9?

#AF8FC9 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8FC9 to RGB:

rgb(175, 143, 201)HEX to RGB Converter →

HEX to HSL

Convert #AF8FC9 to HSL:

hsl(273, 35%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8FC9 to CMYK:

cmyk(13%, 29%, 0%, 21%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #AF8FC9 has RGB (175, 143, 201) and HSL (273°, 35%, 67%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8FC9 is #A8C88D, creating high-contrast pairings. For softer combinations, try analogous colors like #908DC8.

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

Contrast with #AF8FC9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8FC9?

#AF8FC9 is a gentle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF8FC9?

#AF8FC9 in RGB is (175, 143, 201) - 175 red, 143 green, and 201 blue.

How to use #AF8FC9 in CSS?

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

What colors go well with #AF8FC9?

#A8C88D (complementary), #908DC8 (analogous), and #895AAF (lighter shade) work well with #AF8FC9.