Color #AFA0FF Color / Colour Code #AFA0FF
This page shows the hex color code for color #afa0ff (#AFA0FF). The colour is a blue tone with 100% saturation and 81% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #AFA0FF against common backgrounds.
Complementary Colors
#AFA0FF paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 219, 249, and 279 degrees for harmonious combinations.
Triadic Palette
Three colors at 249, 9, and 129 degrees.
Color Palettes Using #AFA0FF
Five shades at lightness levels 15% through 85% while keeping hue at 249 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 249 to 294 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 249 with its complement at 69 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 #AFA0FF
Lightness variations at hue 249 and 100% saturation.
CSS Gradients with #AFA0FF
Design Use Cases for #AFA0FF
High-Impact Accent
With 100% saturation, #AFA0FF 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
#AFA0FF at 81% 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.
Trust & Professional Identity
#AFA0FF sits in the blue range (hue 249). Blue is the world's most popular color for corporate identities because it conveys trust, stability, and competence. Use it for navigation bars, link text, form focus states, and any element where user confidence matters. Financial, healthcare, and technology brands rely heavily on this hue range.
Gradient Pairing
Create a gradient from #AFA0FF (hue 249) to its complement at hue 69. For a subtler effect, try pairing with an analogous color at hue 279. Use CSS: background: linear-gradient(135deg, #afa0ff, #f0ff9e);
CSS Code for #AFA0FF
Similar Colors
Colors visually similar to #AFA0FF based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #AFA0FF across image editing and color design tools.
About Color #AFA0FF (#AFA0FF)
#AFA0FF is a blue color (colour) with RGB channel values of 175 red, 160 green, and 255 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 249 degrees with 100% saturation and 81% lightness, placing it in the cool range of the colour spectrum.
The perceived brightness of #AFA0FF is 175/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, 37% magenta, 0% yellow, and 0% key (black).
The WCAG contrast ratio of #AFA0FF against white is 2.26:1 and against black is 9.30:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 9.30:1, or use it exclusively for decorative purposes.
The complementary colour #F0FF9E creates maximum visual tension when paired with #AFA0FF. For more harmonious color combinations, use the analogous colours #9EC0FF and #DD9EFF, 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 #AFA0FF
- 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 #AFA0FF?
- #AFA0FF is Color #AFA0FF, a blue color (colour) with RGB(175, 160, 255), HSL(249, 100%, 81%), and CMYK(31%, 37%, 0%, 0%). Its perceived brightness is 175/255.
- Is #AFA0FF accessible for text?
- Against white, #AFA0FF has a contrast ratio of 2.26:1 (fails AA for normal text). Against black, it has 9.30:1 (passes AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #AFA0FF?
- The complementary colour is #F0FF9E (hue 69). For subtle color combinations, use analogous colours #9EC0FF and #DD9EFF. The triadic palette adds #FFAD9E and #9EFFAD for vibrant variety.
- How do I use #AFA0FF in CSS?
- Use any format: color: #afa0ff; or rgb(175, 160, 255); or hsl(249, 100%, 81%). For CSS custom properties: --color-primary: 249 100% 81%; 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.