#AF76C6 Color Information

Hex color code: #AF76C6

A subtle purple shade, #AF76C6 appears as (175, 118, 198) in RGB and (283°, 41%, 62%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AF76C6
RGB
175, 118, 198
HSL
283°, 41%, 62%
CMYK
12%, 40%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF76C6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 118, 198

Red: 175 / Green: 118 / Blue: 198

HSL

283°, 41%, 62%

Hue: 283° / Saturation: 41% / Lightness: 62%

CMYK

12%, 40%, 0%, 22%

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

What color is #AF76C6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF76C6 to RGB:

rgb(175, 118, 198)HEX to RGB Converter →

HEX to HSL

Convert #AF76C6 to HSL:

hsl(283, 41%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #AF76C6 to CMYK:

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

Color Meaning and Usage

A gentle purple tone, #AF76C6 has RGB (175, 118, 198) and HSL (283°, 41%, 62%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF76C6 is #8DC676, creating high-contrast pairings. For softer combinations, try analogous colors like #8876C6.

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

Contrast with #AF76C6

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

Contrast Ratio: 6.23:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF76C6?

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

What is the RGB value of #AF76C6?

#AF76C6 in RGB is (175, 118, 198) - 175 red, 118 green, and 198 blue.

How to use #AF76C6 in CSS?

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

What colors go well with #AF76C6?

#8DC676 (complementary), #8876C6 (analogous), and #8D47A9 (lighter shade) work well with #AF76C6.