#AF7FCC Color Information

Hex color code: #AF7FCC

A subtle purple shade, #AF7FCC appears as (175, 127, 204) in RGB and (277°, 43%, 65%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AF7FCC
RGB
175, 127, 204
HSL
277°, 43%, 65%
CMYK
14%, 38%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF7FCC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 127, 204

Red: 175 / Green: 127 / Blue: 204

HSL

277°, 43%, 65%

Hue: 277° / Saturation: 43% / Lightness: 65%

CMYK

14%, 38%, 0%, 20%

Cyan: 14% / Magenta: 38% / Yellow: 0% / Key: 20%

What color is #AF7FCC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF7FCC to RGB:

rgb(175, 127, 204)HEX to RGB Converter →

HEX to HSL

Convert #AF7FCC to HSL:

hsl(277, 43%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #AF7FCC to CMYK:

cmyk(14%, 38%, 0%, 20%)Color Converter →

Color Meaning and Usage

#AF7FCC is a subtle purple color with RGB values of 175, 127, 204 and HSL of 277°, 43%, 65%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF7FCC is #9DCC7F, creating high-contrast pairings. For softer combinations, try analogous colors like #887FCC.

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

Contrast with #AF7FCC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF7FCC?

#AF7FCC is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF7FCC?

#AF7FCC in RGB is (175, 127, 204) - 175 red, 127 green, and 204 blue.

How to use #AF7FCC in CSS?

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

What colors go well with #AF7FCC?

#9DCC7F (complementary), #887FCC (analogous), and #8C49B6 (lighter shade) work well with #AF7FCC.