Color #AF71FF Color / Colour Code #AF71FF
This page shows the hex color code for color #af71ff (#AF71FF). The colour is a purple tone with 100% saturation and 72% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #AF71FF against common backgrounds.
Complementary Colors
#AF71FF paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 236, 266, and 296 degrees for harmonious combinations.
Triadic Palette
Three colors at 266, 26, and 146 degrees.
Color Palettes Using #AF71FF
Five shades at lightness levels 15% through 85% while keeping hue at 266 and saturation at 100%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 266 to 311 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 266 with its complement at 86 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #AF71FF
Lightness variations at hue 266 and 100% saturation.
CSS Gradients with #AF71FF
Design Use Cases for #AF71FF
High-Impact Accent
With 100% saturation, #AF71FF is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.
Light Background Tint
#AF71FF at 72% lightness creates a gentle tinted background. Use it for section backgrounds, alert banners, or card surfaces that need to stand out from a white page without strong contrast. It adds color personality while keeping the design light and open.
Creativity & Premium Positioning
#AF71FF falls in the purple spectrum (hue 266). Purple communicates creativity, wisdom, and luxury. It is effective for premium product highlights, creative portfolio accents, meditation app interfaces, and rewards program branding. Purple occupies a unique space between the energy of red and the calm of blue.
Gradient Pairing
Create a gradient from #AF71FF (hue 266) to its complement at hue 86. For a subtler effect, try pairing with an analogous color at hue 296. Use CSS: background: linear-gradient(135deg, #af71ff, #c1ff70);
CSS Code for #AF71FF
Similar Colors
Colors visually similar to #AF71FF based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #AF71FF across image editing and color design tools.
About Color #AF71FF (#AF71FF)
#AF71FF is a purple color (colour) with RGB channel values of 175 red, 113 green, and 255 blue. The blue channel is dominant by a ratio of 2.3:1 over the weakest channel. In HSL terms, the hue sits at 266 degrees with 100% saturation and 72% lightness, placing it in the cool range of the colour spectrum.
The perceived brightness of #AF71FF is 148/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This is a medium-brightness color that can work with either dark or light text depending on font weight and size. For print production, the CMYK equivalent is 31% cyan, 56% magenta, 0% yellow, and 0% key (black).
The WCAG contrast ratio of #AF71FF against white is 3.17:1 and against black is 6.63:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 6.63:1.
The complementary colour #C1FF70 creates maximum visual tension when paired with #AF71FF. For more harmonious color combinations, use the analogous colours #707AFF and #F570FF, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #AF71FF
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #AF71FF?
- #AF71FF is Color #AF71FF, a purple color (colour) with RGB(175, 113, 255), HSL(266, 100%, 72%), and CMYK(31%, 56%, 0%, 0%). Its perceived brightness is 148/255.
- Is #AF71FF accessible for text?
- Against white, #AF71FF has a contrast ratio of 3.17:1 (fails AA for normal text). Against black, it has 6.63:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
- What colours pair well with #AF71FF?
- The complementary colour is #C1FF70 (hue 86). For subtle color combinations, use analogous colours #707AFF and #F570FF. The triadic palette adds #FFAE70 and #70FFAE for vibrant variety.
- How do I use #AF71FF in CSS?
- Use any format: color: #af71ff; or rgb(175, 113, 255); or hsl(266, 100%, 72%). For CSS custom properties: --color-primary: 266 100% 72%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.