Color #AFA3FE Color / Colour Code #AFA3FE

    This page shows the hex color code for color #afa3fe (#AFA3FE). The colour is a blue tone with 98% saturation and 82% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #AFA3FE

    Color Conversions

    HEX
    #AFA3FE
    RGB
    rgb(175, 163, 254)
    HSL
    hsl(248, 98%, 82%)
    HSV
    hsv(248, 36%, 100%)
    CMYK
    cmyk(31%, 36%, 0%, 0%)

    Accessibility Contrast

    WCAG contrast ratios for #AFA3FE against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.21:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    9.49:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.91:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #AFA3FE 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 #AFA3FE

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 248 and saturation at 98%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #0B014C #160297 #2403FC #7C68FD #BDB3FE
    Warm Harmony

    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.

    #4930E8 #7730E8 #A530E8 #D330E8
    Cool Contrast

    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.

    #3E26D9 #C1D926 #68D926 #26D93E
    Pastel Variation

    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.

    #BDB8E0 #E0B8DB #E0BDB8 #DBE0B8 #B8E0BD

    Shades & Tints of #AFA3FE

    Lightness variations at hue 248 and 98% saturation.

    CSS Gradients with #AFA3FE

    Blue to Yellow
    linear-gradient(135deg, #afa3fe, #f2fea4)
    Analogous Fade
    linear-gradient(90deg, #afa3fe, #dda4fe)
    Deep to Light
    linear-gradient(180deg, #0d015b, #b0a4fe)
    Tricolor Sweep
    linear-gradient(135deg, #b0a4fe, #feb0a4, #a4feb0)

    Design Use Cases for #AFA3FE

    High-Impact Accent

    With 98% saturation, #AFA3FE 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

    #AFA3FE at 82% 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

    #AFA3FE 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 #AFA3FE (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, #afa3fe, #f2fea4);

    CSS Code for #AFA3FE

    /* Background */
    background-color: #afa3fe;
    background-color: rgb(175, 163, 254);
    background-color: hsl(248, 98%, 82%);
    /* Text */
    color: #afa3fe;
    /* Border */
    border: 2px solid #afa3fe;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 163, 254, 0.3);
    /* CSS Variable */
    --color-primary: 248 98% 82%;

    Similar Colors

    Colors visually similar to #AFA3FE based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #AFA3FE across image editing and color design tools.

    About Color #AFA3FE (#AFA3FE)

    #AFA3FE is a blue color (colour) with RGB channel values of 175 red, 163 green, and 254 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 248 degrees with 98% saturation and 82% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #AFA3FE is 177/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, 36% magenta, 0% yellow, and 0% key (black).

    The WCAG contrast ratio of #AFA3FE against white is 2.21:1 and against black is 9.49:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 9.49:1, or use it exclusively for decorative purposes.

    The complementary colour #F2FEA4 creates maximum visual tension when paired with #AFA3FE. For more harmonious color combinations, use the analogous colours #A4C5FE and #DDA4FE, 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 #AFA3FE

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    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 #AFA3FE?
    #AFA3FE is Color #AFA3FE, a blue color (colour) with RGB(175, 163, 254), HSL(248, 98%, 82%), and CMYK(31%, 36%, 0%, 0%). Its perceived brightness is 177/255.
    Is #AFA3FE accessible for text?
    Against white, #AFA3FE has a contrast ratio of 2.21:1 (fails AA for normal text). Against black, it has 9.49:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFA3FE?
    The complementary colour is #F2FEA4 (hue 68). For subtle color combinations, use analogous colours #A4C5FE and #DDA4FE. The triadic palette adds #FEB0A4 and #A4FEB0 for vibrant variety.
    How do I use #AFA3FE in CSS?
    Use any format: color: #afa3fe; or rgb(175, 163, 254); or hsl(248, 98%, 82%). For CSS custom properties: --color-primary: 248 98% 82%; 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.