#AF8CC0 Color Information

Hex color code: #AF8CC0

The hex color #AF8CC0 is a subtle purple with RGB values of (175, 140, 192) and HSL of (280°, 29%, 65%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AF8CC0
RGB
175, 140, 192
HSL
280°, 29%, 65%
CMYK
9%, 27%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8CC0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 140, 192

Red: 175 / Green: 140 / Blue: 192

HSL

280°, 29%, 65%

Hue: 280° / Saturation: 29% / Lightness: 65%

CMYK

9%, 27%, 0%, 25%

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

What color is #AF8CC0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8CC0 to RGB:

rgb(175, 140, 192)HEX to RGB Converter →

HEX to HSL

Convert #AF8CC0 to HSL:

hsl(280, 29%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8CC0 to CMYK:

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

Color Meaning and Usage

#AF8CC0 is a soft purple color with RGB values of 175, 140, 192 and HSL of 280°, 29%, 65%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8CC0 is #9DC08C, creating high-contrast pairings. For softer combinations, try analogous colors like #948CC0.

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

Contrast with #AF8CC0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8CC0?

#AF8CC0 is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF8CC0?

#AF8CC0 in RGB is (175, 140, 192) - 175 red, 140 green, and 192 blue.

How to use #AF8CC0 in CSS?

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

What colors go well with #AF8CC0?

#9DC08C (complementary), #948CC0 (analogous), and #8C5BA4 (lighter shade) work well with #AF8CC0.