Color #AFA4EA Color / Colour Code #AFA4EA

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

    #AFA4EA

    Color Conversions

    HEX
    #AFA4EA
    RGB
    rgb(175, 164, 234)
    HSL
    hsl(249, 62%, 78%)
    HSV
    hsv(249, 30%, 92%)
    CMYK
    cmyk(25%, 30%, 0%, 8%)

    Accessibility Contrast

    WCAG contrast ratios for #AFA4EA against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.25:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    9.32:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.94:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Monochromatic Scale

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

    #160F3E #2B1D7C #4830CF #9183E2 #C8C1F0
    Warm Harmony

    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.

    #5A45D3 #7E45D3 #A245D3 #C545D3
    Cool Contrast

    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.

    #4830CF #B7CF30 #68CF30 #30CF48
    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.

    #BEB8E0 #E0B8DA #E0BEB8 #DAE0B8 #B8E0BE

    Shades & Tints of #AFA4EA

    Lightness variations at hue 249 and 62% saturation.

    CSS Gradients with #AFA4EA

    Blue to Yellow
    linear-gradient(135deg, #afa4ea, #dfeaa4)
    Analogous Fade
    linear-gradient(90deg, #afa4ea, #d1a4ea)
    Deep to Light
    linear-gradient(180deg, #1a114a, #bdb5ee)
    Tricolor Sweep
    linear-gradient(135deg, #afa4ea, #eaafa4, #a4eaaf)

    Design Use Cases for #AFA4EA

    Vibrant Brand Color

    #AFA4EA has a strong 62% 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

    #AFA4EA at 78% 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

    #AFA4EA 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 #AFA4EA (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, #afa4ea, #dfeaa4);

    CSS Code for #AFA4EA

    /* Background */
    background-color: #afa4ea;
    background-color: rgb(175, 164, 234);
    background-color: hsl(249, 62%, 78%);
    /* Text */
    color: #afa4ea;
    /* Border */
    border: 2px solid #afa4ea;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 164, 234, 0.3);
    /* CSS Variable */
    --color-primary: 249 62% 78%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AFA4EA across image editing and color design tools.

    About Color #AFA4EA (#AFA4EA)

    #AFA4EA is a blue color (colour) with RGB channel values of 175 red, 164 green, and 234 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 249 degrees with 62% saturation and 78% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #AFA4EA 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 25% cyan, 30% magenta, 0% yellow, and 8% key (black).

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

    The complementary colour #DFEAA4 creates maximum visual tension when paired with #AFA4EA. For more harmonious color combinations, use the analogous colours #A4BCEA and #D1A4EA, 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 #AFA4EA

    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 #AFA4EA?
    #AFA4EA is Color #AFA4EA, a blue color (colour) with RGB(175, 164, 234), HSL(249, 62%, 78%), and CMYK(25%, 30%, 0%, 8%). Its perceived brightness is 175/255.
    Is #AFA4EA accessible for text?
    Against white, #AFA4EA has a contrast ratio of 2.25:1 (fails AA for normal text). Against black, it has 9.32:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFA4EA?
    The complementary colour is #DFEAA4 (hue 69). For subtle color combinations, use analogous colours #A4BCEA and #D1A4EA. The triadic palette adds #EAAFA4 and #A4EAAF for vibrant variety.
    How do I use #AFA4EA in CSS?
    Use any format: color: #afa4ea; or rgb(175, 164, 234); or hsl(249, 62%, 78%). For CSS custom properties: --color-primary: 249 62% 78%; 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.