Color #A51EC8 Color / Colour Code #A51EC8

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

    #A51EC8

    Color Conversions

    HEX
    #A51EC8
    RGB
    rgb(165, 30, 200)
    HSL
    hsl(288, 74%, 45%)
    HSV
    hsv(288, 85%, 78%)
    CMYK
    cmyk(17%, 85%, 0%, 22%)

    Accessibility Contrast

    WCAG contrast ratios for #A51EC8 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.80:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    3.62:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    5.00:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 258, 288, and 318 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 288, 48, and 168 degrees.

    Color Palettes Using #A51EC8

    Monochromatic Scale

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

    #370A43 #6E1485 #B821DE #D47AEB #EABCF5
    Warm Harmony

    Adjacent hues from 288 to 333 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.

    #BF37E1 #E137D9 #E137AE #E13784
    Cool Contrast

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

    #B526D9 #4AD926 #26D95C #26D9B5
    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.

    #D8B8E0 #E0B8C0 #E0D8B8 #C0E0B8 #B8E0D8

    Shades & Tints of #A51EC8

    Lightness variations at hue 288 and 74% saturation.

    CSS Gradients with #A51EC8

    Purple to Green
    linear-gradient(135deg, #a51ec8, #40c81e)
    Analogous Fade
    linear-gradient(90deg, #a51ec8, #c81e95)
    Deep to Light
    linear-gradient(180deg, #420c50, #e5aff3)
    Tricolor Sweep
    linear-gradient(135deg, #a61ec8, #c8a61e, #1ec8a6)

    Design Use Cases for #A51EC8

    Vibrant Brand Color

    #A51EC8 has a strong 74% 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.

    Primary Interface Color

    At 45% lightness, #A51EC8 is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.

    Creativity & Premium Positioning

    #A51EC8 falls in the purple spectrum (hue 288). 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 #A51EC8 (hue 288) to its complement at hue 108. For a subtler effect, try pairing with an analogous color at hue 318. Use CSS: background: linear-gradient(135deg, #a51ec8, #40c81e);

    CSS Code for #A51EC8

    /* Background */
    background-color: #a51ec8;
    background-color: rgb(165, 30, 200);
    background-color: hsl(288, 74%, 45%);
    /* Text */
    color: #a51ec8;
    /* Border */
    border: 2px solid #a51ec8;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(165, 30, 200, 0.3);
    /* CSS Variable */
    --color-primary: 288 74% 45%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #A51EC8 across image editing and color design tools.

    About Color #A51EC8 (#A51EC8)

    #A51EC8 is a purple color (colour) with RGB channel values of 165 red, 30 green, and 200 blue. The blue channel is dominant by a ratio of 6.7:1 over the weakest channel. In HSL terms, the hue sits at 288 degrees with 74% saturation and 45% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #A51EC8 is 90/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 17% cyan, 85% magenta, 0% yellow, and 22% key (black).

    The WCAG contrast ratio of #A51EC8 against white is 5.80:1 and against black is 3.62:1. This meets the AA requirement (4.5:1) for normal text on white. For AAA compliance, consider darkening to at least 31% lightness.

    The complementary colour #40C81E creates maximum visual tension when paired with #A51EC8. For more harmonious color combinations, use the analogous colours #511EC8 and #C81E95, 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 #A51EC8

    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 #A51EC8?
    #A51EC8 is Color #A51EC8, a purple color (colour) with RGB(165, 30, 200), HSL(288, 74%, 45%), and CMYK(17%, 85%, 0%, 22%). Its perceived brightness is 90/255.
    Is #A51EC8 accessible for text?
    Against white, #A51EC8 has a contrast ratio of 5.80:1 (passes AA for normal text). Against black, it has 3.62:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #A51EC8?
    The complementary colour is #40C81E (hue 108). For subtle color combinations, use analogous colours #511EC8 and #C81E95. The triadic palette adds #C8A61E and #1EC8A6 for vibrant variety.
    How do I use #A51EC8 in CSS?
    Use any format: color: #a51ec8; or rgb(165, 30, 200); or hsl(288, 74%, 45%). For CSS custom properties: --color-primary: 288 74% 45%; 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.