Color #AFA5ED Color / Colour Code #AFA5ED
This page shows the hex color code for color #afa5ed (#AFA5ED). The colour is a blue tone with 67% saturation and 79% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #AFA5ED against common backgrounds.
Complementary Colors
#AFA5ED 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 #AFA5ED
Five shades at lightness levels 15% through 85% while keeping hue at 248 and saturation at 67%. 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 #AFA5ED
Lightness variations at hue 248 and 67% saturation.
CSS Gradients with #AFA5ED
Design Use Cases for #AFA5ED
Vibrant Brand Color
#AFA5ED has a strong 67% 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
#AFA5ED 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
#AFA5ED 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 #AFA5ED (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, #afa5ed, #e4eda6);
CSS Code for #AFA5ED
Similar Colors
Colors visually similar to #AFA5ED based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #AFA5ED across image editing and color design tools.
About Color #AFA5ED (#AFA5ED)
#AFA5ED is a blue color (colour) with RGB channel values of 175 red, 165 green, and 237 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 248 degrees with 67% saturation and 79% lightness, placing it in the cool range of the colour spectrum.
The perceived brightness of #AFA5ED 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 #AFA5ED against white is 2.23:1 and against black is 9.43:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 9.43:1, or use it exclusively for decorative purposes.
The complementary colour #E4EDA6 creates maximum visual tension when paired with #AFA5ED. For more harmonious color combinations, use the analogous colours #A6C0ED and #D3A6ED, 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 #AFA5ED
- 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 #AFA5ED?
- #AFA5ED is Color #AFA5ED, a blue color (colour) with RGB(175, 165, 237), HSL(248, 67%, 79%), and CMYK(26%, 30%, 0%, 7%). Its perceived brightness is 176/255.
- Is #AFA5ED accessible for text?
- Against white, #AFA5ED has a contrast ratio of 2.23:1 (fails AA for normal text). Against black, it has 9.43:1 (passes AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #AFA5ED?
- The complementary colour is #E4EDA6 (hue 68). For subtle color combinations, use analogous colours #A6C0ED and #D3A6ED. The triadic palette adds #EDAFA6 and #A6EDAF for vibrant variety.
- How do I use #AFA5ED in CSS?
- Use any format: color: #afa5ed; or rgb(175, 165, 237); or hsl(248, 67%, 79%). For CSS custom properties: --color-primary: 248 67% 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.