Color #AFA7CA Color / Colour Code #AFA7CA

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

    #AFA7CA

    Color Conversions

    HEX
    #AFA7CA
    RGB
    rgb(175, 167, 202)
    HSL
    hsl(254, 25%, 72%)
    HSV
    hsv(254, 17%, 79%)
    CMYK
    cmyk(13%, 17%, 0%, 21%)

    Accessibility Contrast

    WCAG contrast ratios for #AFA7CA against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.28:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    9.20:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.97:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #AFA7CA paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 224, 254, and 284 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 254, 14, and 134 degrees.

    Color Palettes Using #AFA7CA

    Monochromatic Scale

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

    #211D30 #423960 #6F609F #A89FC6 #D4CFE2
    Warm Harmony

    Adjacent hues from 254 to 299 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.

    #7D70A9 #8B70A9 #9A70A9 #A870A9
    Cool Contrast

    Combines the base color at hue 254 with its complement at 74 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #6F609F #919F60 #719F60 #609F6F
    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.

    #C1B8E0 #E0B8D7 #E0C1B8 #D7E0B8 #B8E0C1

    Shades & Tints of #AFA7CA

    Lightness variations at hue 254 and 25% saturation.

    CSS Gradients with #AFA7CA

    Blue to Yellow
    linear-gradient(135deg, #afa7ca, #c1c9a6)
    Analogous Fade
    linear-gradient(90deg, #afa7ca, #c0a6c9)
    Deep to Light
    linear-gradient(180deg, #282239, #cbc6dd)
    Tricolor Sweep
    linear-gradient(135deg, #aea6c9, #c9aea6, #a6c9ae)

    Design Use Cases for #AFA7CA

    Muted Accent Color

    With 25% saturation, #AFA7CA has a subtle, sophisticated quality. This level of desaturation works well for secondary buttons, inactive states, subtle borders, and backgrounds that need a hint of color without being distracting. Muted colors communicate restraint and professionalism.

    Light Background Tint

    #AFA7CA at 72% 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

    #AFA7CA sits in the blue range (hue 254). 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 #AFA7CA (hue 254) to its complement at hue 74. For a subtler effect, try pairing with an analogous color at hue 284. Use CSS: background: linear-gradient(135deg, #afa7ca, #c1c9a6);

    CSS Code for #AFA7CA

    /* Background */
    background-color: #afa7ca;
    background-color: rgb(175, 167, 202);
    background-color: hsl(254, 25%, 72%);
    /* Text */
    color: #afa7ca;
    /* Border */
    border: 2px solid #afa7ca;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 167, 202, 0.3);
    /* CSS Variable */
    --color-primary: 254 25% 72%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AFA7CA across image editing and color design tools.

    About Color #AFA7CA (#AFA7CA)

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

    The perceived brightness of #AFA7CA is 173/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 13% cyan, 17% magenta, 0% yellow, and 21% key (black).

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

    The complementary colour #C1C9A6 creates maximum visual tension when paired with #AFA7CA. For more harmonious color combinations, use the analogous colours #A6AFC9 and #C0A6C9, 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 #AFA7CA

    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 #AFA7CA?
    #AFA7CA is Color #AFA7CA, a blue color (colour) with RGB(175, 167, 202), HSL(254, 25%, 72%), and CMYK(13%, 17%, 0%, 21%). Its perceived brightness is 173/255.
    Is #AFA7CA accessible for text?
    Against white, #AFA7CA has a contrast ratio of 2.28:1 (fails AA for normal text). Against black, it has 9.20:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFA7CA?
    The complementary colour is #C1C9A6 (hue 74). For subtle color combinations, use analogous colours #A6AFC9 and #C0A6C9. The triadic palette adds #C9AEA6 and #A6C9AE for vibrant variety.
    How do I use #AFA7CA in CSS?
    Use any format: color: #afa7ca; or rgb(175, 167, 202); or hsl(254, 25%, 72%). For CSS custom properties: --color-primary: 254 25% 72%; 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.