Color #AFA7BD Color / Colour Code #AFA7BD

    This page shows the hex color code for color #afa7bd (#AFA7BD). The colour is a purple tone with 14% saturation and 70% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #AFA7BD

    Color Conversions

    HEX
    #AFA7BD
    RGB
    rgb(175, 167, 189)
    HSL
    hsl(262, 14%, 70%)
    HSV
    hsv(262, 12%, 74%)
    CMYK
    cmyk(7%, 12%, 0%, 26%)

    Accessibility Contrast

    WCAG contrast ratios for #AFA7BD against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.31:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    9.09:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.99:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 232, 262, and 292 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 262, 22, and 142 degrees.

    Color Palettes Using #AFA7BD

    Monochromatic Scale

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

    #25212C #4A4257 #7B6E91 #B0A8BD #D7D3DE
    Warm Harmony

    Adjacent hues from 262 to 307 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.

    #887C9C #907C9C #987C9C #9C7C99
    Cool Contrast

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

    #7B6E91 #84916E #72916E #6E917B
    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.

    #C7B8E0 #E0B8D1 #E0C7B8 #D1E0B8 #B8E0C7

    Shades & Tints of #AFA7BD

    Lightness variations at hue 262 and 14% saturation.

    CSS Gradients with #AFA7BD

    Purple to Green
    linear-gradient(135deg, #afa7bd, #b5bda8)
    Analogous Fade
    linear-gradient(90deg, #afa7bd, #baa8bd)
    Deep to Light
    linear-gradient(180deg, #2c2734, #cfcbd8)
    Tricolor Sweep
    linear-gradient(135deg, #b0a8bd, #bdb0a8, #a8bdb0)

    Design Use Cases for #AFA7BD

    Muted Accent Color

    With 14% saturation, #AFA7BD 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

    #AFA7BD at 70% 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.

    Creativity & Premium Positioning

    #AFA7BD falls in the purple spectrum (hue 262). Purple communicates creativity, wisdom, and luxury. It is effective for premium product highlights, creative portfolio accents, meditation app interfaces, and rewards program branding. Purple occupies a unique space between the energy of red and the calm of blue.

    Gradient Pairing

    Create a gradient from #AFA7BD (hue 262) to its complement at hue 82. For a subtler effect, try pairing with an analogous color at hue 292. Use CSS: background: linear-gradient(135deg, #afa7bd, #b5bda8);

    CSS Code for #AFA7BD

    /* Background */
    background-color: #afa7bd;
    background-color: rgb(175, 167, 189);
    background-color: hsl(262, 14%, 70%);
    /* Text */
    color: #afa7bd;
    /* Border */
    border: 2px solid #afa7bd;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 167, 189, 0.3);
    /* CSS Variable */
    --color-primary: 262 14% 70%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AFA7BD across image editing and color design tools.

    About Color #AFA7BD (#AFA7BD)

    #AFA7BD is a purple color (colour) with RGB channel values of 175 red, 167 green, and 189 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 262 degrees with 14% saturation and 70% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #AFA7BD is 172/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 7% cyan, 12% magenta, 0% yellow, and 26% key (black).

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

    The complementary colour #B5BDA8 creates maximum visual tension when paired with #AFA7BD. For more harmonious color combinations, use the analogous colours #A8ABBD and #BAA8BD, 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 #AFA7BD

    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 #AFA7BD?
    #AFA7BD is Color #AFA7BD, a purple color (colour) with RGB(175, 167, 189), HSL(262, 14%, 70%), and CMYK(7%, 12%, 0%, 26%). Its perceived brightness is 172/255.
    Is #AFA7BD accessible for text?
    Against white, #AFA7BD has a contrast ratio of 2.31:1 (fails AA for normal text). Against black, it has 9.09:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFA7BD?
    The complementary colour is #B5BDA8 (hue 82). For subtle color combinations, use analogous colours #A8ABBD and #BAA8BD. The triadic palette adds #BDB0A8 and #A8BDB0 for vibrant variety.
    How do I use #AFA7BD in CSS?
    Use any format: color: #afa7bd; or rgb(175, 167, 189); or hsl(262, 14%, 70%). For CSS custom properties: --color-primary: 262 14% 70%; 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.