Color #AF79EC Color / Colour Code #AF79EC

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

    #AF79EC

    Color Conversions

    HEX
    #AF79EC
    RGB
    rgb(175, 121, 236)
    HSL
    hsl(268, 75%, 70%)
    HSV
    hsv(268, 49%, 93%)
    CMYK
    cmyk(26%, 49%, 0%, 7%)

    Accessibility Contrast

    WCAG contrast ratios for #AF79EC against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    3.10:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    6.77:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    2.67:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 238, 268, and 298 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 268, 28, and 148 degrees.

    Color Palettes Using #AF79EC

    Monochromatic Scale

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

    #240A43 #491386 #7920DF #AF79EC #D7BCF5
    Warm Harmony

    Adjacent hues from 268 to 313 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.

    #8736E2 #B236E2 #DD36E2 #E236BD
    Cool Contrast

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

    #7A26D9 #85D926 #2CD926 #26D97A
    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.

    #CBB8E0 #E0B8CD #E0CBB8 #CDE0B8 #B8E0CB

    Shades & Tints of #AF79EC

    Lightness variations at hue 268 and 75% saturation.

    CSS Gradients with #AF79EC

    Purple to Green
    linear-gradient(135deg, #af79ec, #b6ec79)
    Analogous Fade
    linear-gradient(90deg, #af79ec, #e879ec)
    Deep to Light
    linear-gradient(180deg, #2c0b50, #cfaff4)
    Tricolor Sweep
    linear-gradient(135deg, #af79ec, #ecaf79, #79ecaf)

    Design Use Cases for #AF79EC

    Vibrant Brand Color

    #AF79EC has a strong 75% 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

    #AF79EC 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

    #AF79EC falls in the purple spectrum (hue 268). 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 #AF79EC (hue 268) to its complement at hue 88. For a subtler effect, try pairing with an analogous color at hue 298. Use CSS: background: linear-gradient(135deg, #af79ec, #b6ec79);

    CSS Code for #AF79EC

    /* Background */
    background-color: #af79ec;
    background-color: rgb(175, 121, 236);
    background-color: hsl(268, 75%, 70%);
    /* Text */
    color: #af79ec;
    /* Border */
    border: 2px solid #af79ec;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 121, 236, 0.3);
    /* CSS Variable */
    --color-primary: 268 75% 70%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AF79EC across image editing and color design tools.

    About Color #AF79EC (#AF79EC)

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

    The perceived brightness of #AF79EC is 150/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, 49% magenta, 0% yellow, and 7% key (black).

    The WCAG contrast ratio of #AF79EC against white is 3.10:1 and against black is 6.77:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 6.77:1.

    The complementary colour #B6EC79 creates maximum visual tension when paired with #AF79EC. For more harmonious color combinations, use the analogous colours #797DEC and #E879EC, 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 #AF79EC

    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 #AF79EC?
    #AF79EC is Color #AF79EC, a purple color (colour) with RGB(175, 121, 236), HSL(268, 75%, 70%), and CMYK(26%, 49%, 0%, 7%). Its perceived brightness is 150/255.
    Is #AF79EC accessible for text?
    Against white, #AF79EC has a contrast ratio of 3.10:1 (fails AA for normal text). Against black, it has 6.77:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
    What colours pair well with #AF79EC?
    The complementary colour is #B6EC79 (hue 88). For subtle color combinations, use analogous colours #797DEC and #E879EC. The triadic palette adds #ECAF79 and #79ECAF for vibrant variety.
    How do I use #AF79EC in CSS?
    Use any format: color: #af79ec; or rgb(175, 121, 236); or hsl(268, 75%, 70%). For CSS custom properties: --color-primary: 268 75% 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.