Color #7F5997 Color / Colour Code #7F5997

    This page shows the hex color code for color #7f5997 (#7F5997). The colour is a purple tone with 26% saturation and 47% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #7F5997

    Color Conversions

    HEX
    #7F5997
    RGB
    rgb(127, 89, 151)
    HSL
    hsl(277, 26%, 47%)
    HSV
    hsv(277, 41%, 59%)
    CMYK
    cmyk(16%, 41%, 0%, 41%)

    Accessibility Contrast

    WCAG contrast ratios for #7F5997 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.56:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    3.78:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.79:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

    #7F5997 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 247, 277, and 307 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 277, 37, and 157 degrees.

    Color Palettes Using #7F5997

    Monochromatic Scale

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

    #291C30 #513960 #875EA1 #B79FC6 #DBCFE3
    Warm Harmony

    Adjacent hues from 277 to 322 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.

    #936EAA #A26EAA #AA6EA3 #AA6E94
    Cool Contrast

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

    #875EA1 #78A15E #5EA166 #5EA187
    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.

    #D1B8E0 #E0B8C7 #E0D1B8 #C7E0B8 #B8E0D1

    Shades & Tints of #7F5997

    Lightness variations at hue 277 and 26% saturation.

    CSS Gradients with #7F5997

    Purple to Green
    linear-gradient(135deg, #7f5997, #719759)
    Analogous Fade
    linear-gradient(90deg, #7f5997, #975990)
    Deep to Light
    linear-gradient(180deg, #31223a, #d4c5dd)
    Tricolor Sweep
    linear-gradient(135deg, #7f5997, #977f59, #59977f)

    Design Use Cases for #7F5997

    Muted Accent Color

    With 26% saturation, #7F5997 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.

    Primary Interface Color

    At 47% lightness, #7F5997 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

    #7F5997 falls in the purple spectrum (hue 277). 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 #7F5997 (hue 277) to its complement at hue 97. For a subtler effect, try pairing with an analogous color at hue 307. Use CSS: background: linear-gradient(135deg, #7f5997, #719759);

    CSS Code for #7F5997

    /* Background */
    background-color: #7f5997;
    background-color: rgb(127, 89, 151);
    background-color: hsl(277, 26%, 47%);
    /* Text */
    color: #7f5997;
    /* Border */
    border: 2px solid #7f5997;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(127, 89, 151, 0.3);
    /* CSS Variable */
    --color-primary: 277 26% 47%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #7F5997 across image editing and color design tools.

    About Color #7F5997 (#7F5997)

    #7F5997 is a purple color (colour) with RGB channel values of 127 red, 89 green, and 151 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 277 degrees with 26% saturation and 47% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #7F5997 is 107/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 16% cyan, 41% magenta, 0% yellow, and 41% key (black).

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

    The complementary colour #719759 creates maximum visual tension when paired with #7F5997. For more harmonious color combinations, use the analogous colours #605997 and #975990, 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 #7F5997

    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 #7F5997?
    #7F5997 is Color #7F5997, a purple color (colour) with RGB(127, 89, 151), HSL(277, 26%, 47%), and CMYK(16%, 41%, 0%, 41%). Its perceived brightness is 107/255.
    Is #7F5997 accessible for text?
    Against white, #7F5997 has a contrast ratio of 5.56:1 (passes AA for normal text). Against black, it has 3.78:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #7F5997?
    The complementary colour is #719759 (hue 97). For subtle color combinations, use analogous colours #605997 and #975990. The triadic palette adds #977F59 and #59977F for vibrant variety.
    How do I use #7F5997 in CSS?
    Use any format: color: #7f5997; or rgb(127, 89, 151); or hsl(277, 26%, 47%). For CSS custom properties: --color-primary: 277 26% 47%; 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.