Color #AF7FAC Color / Colour Code #AF7FAC
This page shows the hex color code for color #af7fac (#AF7FAC). The colour is a purple tone with 23% saturation and 59% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #AF7FAC against common backgrounds.
Complementary Colors
#AF7FAC paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 274, 304, and 334 degrees for harmonious combinations.
Triadic Palette
Three colors at 304, 64, and 184 degrees.
Color Palettes Using #AF7FAC
Five shades at lightness levels 15% through 85% while keeping hue at 304 and saturation at 23%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 304 to 349 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 304 with its complement at 124 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 #AF7FAC
Lightness variations at hue 304 and 23% saturation.
CSS Gradients with #AF7FAC
Design Use Cases for #AF7FAC
Muted Accent Color
With 23% saturation, #AF7FAC has a subtle, sophisticated quality. This level of desaturation works well for secondary buttons, inactive states, subtle borders, and backgrounds that need a hint of color without being distracting. Muted colors communicate restraint and professionalism.
Soft Accent & Highlight
With 59% lightness, #AF7FAC has a softer, more approachable quality. It works well for hover states, subtle highlights, progress indicators, and secondary UI elements. This lightness range is particularly effective for tag backgrounds and status indicators.
Creativity & Premium Positioning
#AF7FAC falls in the purple spectrum (hue 304). 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 #AF7FAC (hue 304) to its complement at hue 124. For a subtler effect, try pairing with an analogous color at hue 334. Use CSS: background: linear-gradient(135deg, #af7fac, #7eae82);
CSS Code for #AF7FAC
Similar Colors
Colors visually similar to #AF7FAC based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #AF7FAC across image editing and color design tools.
About Color #AF7FAC (#AF7FAC)
#AF7FAC is a purple color (colour) with RGB channel values of 175 red, 127 green, and 172 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 304 degrees with 23% saturation and 59% lightness, placing it in the warm range of the colour spectrum.
The perceived brightness of #AF7FAC is 146/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 0% cyan, 27% magenta, 2% yellow, and 31% key (black).
The WCAG contrast ratio of #AF7FAC against white is 3.25:1 and against black is 6.45: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.45:1.
The complementary colour #7EAE82 creates maximum visual tension when paired with #AF7FAC. For more harmonious color combinations, use the analogous colours #9A7EAE and #AE7E93, 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 #AF7FAC
- 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 #AF7FAC?
- #AF7FAC is Color #AF7FAC, a purple color (colour) with RGB(175, 127, 172), HSL(304, 23%, 59%), and CMYK(0%, 27%, 2%, 31%). Its perceived brightness is 146/255.
- Is #AF7FAC accessible for text?
- Against white, #AF7FAC has a contrast ratio of 3.25:1 (fails AA for normal text). Against black, it has 6.45: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 #AF7FAC?
- The complementary colour is #7EAE82 (hue 124). For subtle color combinations, use analogous colours #9A7EAE and #AE7E93. The triadic palette adds #ABAE7E and #7EABAE for vibrant variety.
- How do I use #AF7FAC in CSS?
- Use any format: color: #af7fac; or rgb(175, 127, 172); or hsl(304, 23%, 59%). For CSS custom properties: --color-primary: 304 23% 59%; 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.