Color #AFA8CD Color / Colour Code #AFA8CD

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

    #AFA8CD

    Color Conversions

    HEX
    #AFA8CD
    RGB
    rgb(175, 168, 205)
    HSL
    hsl(251, 27%, 73%)
    HSV
    hsv(251, 18%, 80%)
    CMYK
    cmyk(15%, 18%, 0%, 20%)

    Accessibility Contrast

    WCAG contrast ratios for #AFA8CD against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.26:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    9.31:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.95:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 221, 251, and 281 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 251, 11, and 131 degrees.

    Color Palettes Using #AFA8CD

    Monochromatic Scale

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

    #201C31 #3F3861 #6A5DA2 #A59EC7 #D2CEE3
    Warm Harmony

    Adjacent hues from 251 to 296 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.

    #796DAB #886DAB #986DAB #A76DAB
    Cool Contrast

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

    #6A5DA2 #95A25D #73A25D #5DA26A
    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.

    #BFB8E0 #E0B8D9 #E0BFB8 #D9E0B8 #B8E0BF

    Shades & Tints of #AFA8CD

    Lightness variations at hue 251 and 27% saturation.

    CSS Gradients with #AFA8CD

    Blue to Yellow
    linear-gradient(135deg, #afa8cd, #c6cda8)
    Analogous Fade
    linear-gradient(90deg, #afa8cd, #c1a8cd)
    Deep to Light
    linear-gradient(180deg, #26223a, #c9c5dd)
    Tricolor Sweep
    linear-gradient(135deg, #aea8cd, #cdaea8, #a8cdae)

    Design Use Cases for #AFA8CD

    Muted Accent Color

    With 27% saturation, #AFA8CD 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

    #AFA8CD at 73% 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

    #AFA8CD sits in the blue range (hue 251). 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 #AFA8CD (hue 251) to its complement at hue 71. For a subtler effect, try pairing with an analogous color at hue 281. Use CSS: background: linear-gradient(135deg, #afa8cd, #c6cda8);

    CSS Code for #AFA8CD

    /* Background */
    background-color: #afa8cd;
    background-color: rgb(175, 168, 205);
    background-color: hsl(251, 27%, 73%);
    /* Text */
    color: #afa8cd;
    /* Border */
    border: 2px solid #afa8cd;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 168, 205, 0.3);
    /* CSS Variable */
    --color-primary: 251 27% 73%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AFA8CD across image editing and color design tools.

    About Color #AFA8CD (#AFA8CD)

    #AFA8CD is a blue color (colour) with RGB channel values of 175 red, 168 green, and 205 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 251 degrees with 27% saturation and 73% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #AFA8CD is 174/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 15% cyan, 18% magenta, 0% yellow, and 20% key (black).

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

    The complementary colour #C6CDA8 creates maximum visual tension when paired with #AFA8CD. For more harmonious color combinations, use the analogous colours #A8B3CD and #C1A8CD, 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 #AFA8CD

    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 #AFA8CD?
    #AFA8CD is Color #AFA8CD, a blue color (colour) with RGB(175, 168, 205), HSL(251, 27%, 73%), and CMYK(15%, 18%, 0%, 20%). Its perceived brightness is 174/255.
    Is #AFA8CD accessible for text?
    Against white, #AFA8CD has a contrast ratio of 2.26:1 (fails AA for normal text). Against black, it has 9.31:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFA8CD?
    The complementary colour is #C6CDA8 (hue 71). For subtle color combinations, use analogous colours #A8B3CD and #C1A8CD. The triadic palette adds #CDAEA8 and #A8CDAE for vibrant variety.
    How do I use #AFA8CD in CSS?
    Use any format: color: #afa8cd; or rgb(175, 168, 205); or hsl(251, 27%, 73%). For CSS custom properties: --color-primary: 251 27% 73%; 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.