Color #AF8AEB Color / Colour Code #AF8AEB

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

    #AF8AEB

    Color Conversions

    HEX
    #AF8AEB
    RGB
    rgb(175, 138, 235)
    HSL
    hsl(263, 71%, 73%)
    HSV
    hsv(263, 41%, 92%)
    CMYK
    cmyk(26%, 41%, 0%, 8%)

    Accessibility Contrast

    WCAG contrast ratios for #AF8AEB against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.74:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    7.66:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    2.36:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 233, 263, and 293 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 263, 23, and 143 degrees.

    Color Palettes Using #AF8AEB

    Monochromatic Scale

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

    #200B41 #401683 #6A25DA #A67CE9 #D2BEF4
    Warm Harmony

    Adjacent hues from 263 to 308 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.

    #793BDE #A23BDE #CB3BDE #DE3BC8
    Cool Contrast

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

    #6B26D9 #94D926 #3BD926 #26D96B
    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 #AF8AEB

    Lightness variations at hue 263 and 71% saturation.

    CSS Gradients with #AF8AEB

    Purple to Green
    linear-gradient(135deg, #af8aeb, #c6eb89)
    Analogous Fade
    linear-gradient(90deg, #af8aeb, #e089eb)
    Deep to Light
    linear-gradient(180deg, #260d4e, #c9b1f2)
    Tricolor Sweep
    linear-gradient(135deg, #af89eb, #ebaf89, #89ebaf)

    Design Use Cases for #AF8AEB

    Vibrant Brand Color

    #AF8AEB has a strong 71% 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

    #AF8AEB 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.

    Creativity & Premium Positioning

    #AF8AEB falls in the purple spectrum (hue 263). 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 #AF8AEB (hue 263) to its complement at hue 83. For a subtler effect, try pairing with an analogous color at hue 293. Use CSS: background: linear-gradient(135deg, #af8aeb, #c6eb89);

    CSS Code for #AF8AEB

    /* Background */
    background-color: #af8aeb;
    background-color: rgb(175, 138, 235);
    background-color: hsl(263, 71%, 73%);
    /* Text */
    color: #af8aeb;
    /* Border */
    border: 2px solid #af8aeb;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 138, 235, 0.3);
    /* CSS Variable */
    --color-primary: 263 71% 73%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AF8AEB across image editing and color design tools.

    About Color #AF8AEB (#AF8AEB)

    #AF8AEB is a purple color (colour) with RGB channel values of 175 red, 138 green, and 235 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 263 degrees with 71% saturation and 73% lightness, placing it in the cool range of the colour spectrum.

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

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

    The complementary colour #C6EB89 creates maximum visual tension when paired with #AF8AEB. For more harmonious color combinations, use the analogous colours #8995EB and #E089EB, 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 #AF8AEB

    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 #AF8AEB?
    #AF8AEB is Color #AF8AEB, a purple color (colour) with RGB(175, 138, 235), HSL(263, 71%, 73%), and CMYK(26%, 41%, 0%, 8%). Its perceived brightness is 160/255.
    Is #AF8AEB accessible for text?
    Against white, #AF8AEB has a contrast ratio of 2.74:1 (fails AA for normal text). Against black, it has 7.66:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AF8AEB?
    The complementary colour is #C6EB89 (hue 83). For subtle color combinations, use analogous colours #8995EB and #E089EB. The triadic palette adds #EBAF89 and #89EBAF for vibrant variety.
    How do I use #AF8AEB in CSS?
    Use any format: color: #af8aeb; or rgb(175, 138, 235); or hsl(263, 71%, 73%). For CSS custom properties: --color-primary: 263 71% 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.