Color #AF86FC Color / Colour Code #AF86FC

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

    #AF86FC

    Color Conversions

    HEX
    #AF86FC
    RGB
    rgb(175, 134, 252)
    HSL
    hsl(261, 95%, 76%)
    HSV
    hsv(261, 47%, 99%)
    CMYK
    cmyk(31%, 47%, 0%, 1%)

    Accessibility Contrast

    WCAG contrast ratios for #AF86FC against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.75:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    7.64:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    2.37:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 231, 261, and 291 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 261, 21, and 141 degrees.

    Color Palettes Using #AF86FC

    Monochromatic Scale

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

    #1B024B #370495 #5B06F9 #9D6AFB #CEB4FD
    Warm Harmony

    Adjacent hues from 261 to 306 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.

    #7130E8 #9F30E8 #CD30E8 #E830D6
    Cool Contrast

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

    #6526D9 #9AD926 #41D926 #26D965
    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.

    #C6B8E0 #E0B8D2 #E0C6B8 #D2E0B8 #B8E0C6

    Shades & Tints of #AF86FC

    Lightness variations at hue 261 and 95% saturation.

    CSS Gradients with #AF86FC

    Purple to Green
    linear-gradient(135deg, #af86fc, #d3fc88)
    Analogous Fade
    linear-gradient(90deg, #af86fc, #ea88fc)
    Deep to Light
    linear-gradient(180deg, #21025a, #c4a5fd)
    Tricolor Sweep
    linear-gradient(135deg, #b088fc, #fcb088, #88fcb0)

    Design Use Cases for #AF86FC

    High-Impact Accent

    With 95% saturation, #AF86FC 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

    #AF86FC at 76% 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

    #AF86FC falls in the purple spectrum (hue 261). 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 #AF86FC (hue 261) to its complement at hue 81. For a subtler effect, try pairing with an analogous color at hue 291. Use CSS: background: linear-gradient(135deg, #af86fc, #d3fc88);

    CSS Code for #AF86FC

    /* Background */
    background-color: #af86fc;
    background-color: rgb(175, 134, 252);
    background-color: hsl(261, 95%, 76%);
    /* Text */
    color: #af86fc;
    /* Border */
    border: 2px solid #af86fc;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 134, 252, 0.3);
    /* CSS Variable */
    --color-primary: 261 95% 76%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AF86FC across image editing and color design tools.

    About Color #AF86FC (#AF86FC)

    #AF86FC is a purple color (colour) with RGB channel values of 175 red, 134 green, and 252 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 261 degrees with 95% saturation and 76% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #AF86FC is 160/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, 47% magenta, 0% yellow, and 1% key (black).

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

    The complementary colour #D3FC88 creates maximum visual tension when paired with #AF86FC. For more harmonious color combinations, use the analogous colours #8899FC and #EA88FC, 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 #AF86FC

    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 #AF86FC?
    #AF86FC is Color #AF86FC, a purple color (colour) with RGB(175, 134, 252), HSL(261, 95%, 76%), and CMYK(31%, 47%, 0%, 1%). Its perceived brightness is 160/255.
    Is #AF86FC accessible for text?
    Against white, #AF86FC has a contrast ratio of 2.75:1 (fails AA for normal text). Against black, it has 7.64:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AF86FC?
    The complementary colour is #D3FC88 (hue 81). For subtle color combinations, use analogous colours #8899FC and #EA88FC. The triadic palette adds #FCB088 and #88FCB0 for vibrant variety.
    How do I use #AF86FC in CSS?
    Use any format: color: #af86fc; or rgb(175, 134, 252); or hsl(261, 95%, 76%). For CSS custom properties: --color-primary: 261 95% 76%; 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.