#AF71F6 Color Information

Hex color code: #AF71F6

A dynamic purple shade, #AF71F6 appears as (175, 113, 246) in RGB and (268°, 88%, 70%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AF71F6
RGB
175, 113, 246
HSL
268°, 88%, 70%
CMYK
29%, 54%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF71F6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 113, 246

Red: 175 / Green: 113 / Blue: 246

HSL

268°, 88%, 70%

Hue: 268° / Saturation: 88% / Lightness: 70%

CMYK

29%, 54%, 0%, 4%

Cyan: 29% / Magenta: 54% / Yellow: 0% / Key: 4%

What color is #AF71F6?

#AF71F6 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF71F6 to RGB:

rgb(175, 113, 246)HEX to RGB Converter →

HEX to HSL

Convert #AF71F6 to HSL:

hsl(268, 88%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #AF71F6 to CMYK:

cmyk(29%, 54%, 0%, 4%)Color Converter →

Color Meaning and Usage

#AF71F6 is a striking purple color with RGB values of 175, 113, 246 and HSL of 268°, 88%, 70%. This highly saturated hue evokes energy and excitement, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF71F6 is #B7F66F, creating high-contrast pairings. For softer combinations, try analogous colors like #6F74F6.

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

Contrast with #AF71F6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF71F6?

#AF71F6 is a striking purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AF71F6?

#AF71F6 in RGB is (175, 113, 246) - 175 red, 113 green, and 246 blue.

How to use #AF71F6 in CSS?

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

What colors go well with #AF71F6?

#B7F66F (complementary), #6F74F6 (analogous), and #8627F1 (lighter shade) work well with #AF71F6.