Color #AFA5EC Color / Colour Code #AFA5EC
This page shows the hex color code for color #afa5ec (#AFA5EC). The colour is a blue tone with 65% saturation and 79% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #AFA5EC against common backgrounds.
Complementary Colors
#AFA5EC paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 218, 248, and 278 degrees for harmonious combinations.
Triadic Palette
Three colors at 248, 8, and 128 degrees.
Color Palettes Using #AFA5EC
Five shades at lightness levels 15% through 85% while keeping hue at 248 and saturation at 65%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 248 to 293 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 248 with its complement at 68 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 #AFA5EC
Lightness variations at hue 248 and 65% saturation.
CSS Gradients with #AFA5EC
Design Use Cases for #AFA5EC
Vibrant Brand Color
#AFA5EC has a strong 65% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.
Light Background Tint
#AFA5EC at 79% 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
#AFA5EC sits in the blue range (hue 248). 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 #AFA5EC (hue 248) to its complement at hue 68. For a subtler effect, try pairing with an analogous color at hue 278. Use CSS: background: linear-gradient(135deg, #afa5ec, #e3eca7);
CSS Code for #AFA5EC
Similar Colors
Colors visually similar to #AFA5EC based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #AFA5EC across image editing and color design tools.
About Color #AFA5EC (#AFA5EC)
#AFA5EC is a blue color (colour) with RGB channel values of 175 red, 165 green, and 236 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 248 degrees with 65% saturation and 79% lightness, placing it in the cool range of the colour spectrum.
The perceived brightness of #AFA5EC is 176/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 26% cyan, 30% magenta, 0% yellow, and 7% key (black).
The WCAG contrast ratio of #AFA5EC against white is 2.23:1 and against black is 9.42:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 9.42:1, or use it exclusively for decorative purposes.
The complementary colour #E3ECA7 creates maximum visual tension when paired with #AFA5EC. For more harmonious color combinations, use the analogous colours #A7C0EC and #D3A7EC, 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 #AFA5EC
- 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 #AFA5EC?
- #AFA5EC is Color #AFA5EC, a blue color (colour) with RGB(175, 165, 236), HSL(248, 65%, 79%), and CMYK(26%, 30%, 0%, 7%). Its perceived brightness is 176/255.
- Is #AFA5EC accessible for text?
- Against white, #AFA5EC has a contrast ratio of 2.23:1 (fails AA for normal text). Against black, it has 9.42:1 (passes AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #AFA5EC?
- The complementary colour is #E3ECA7 (hue 68). For subtle color combinations, use analogous colours #A7C0EC and #D3A7EC. The triadic palette adds #ECB0A7 and #A7ECB0 for vibrant variety.
- How do I use #AFA5EC in CSS?
- Use any format: color: #afa5ec; or rgb(175, 165, 236); or hsl(248, 65%, 79%). For CSS custom properties: --color-primary: 248 65% 79%; 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.