Color #9B7EC8 Color / Colour Code #9B7EC8

    This page shows the hex color code for color #9b7ec8 (#9B7EC8). The colour is a purple tone with 40% saturation and 64% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #9B7EC8

    Color Conversions

    HEX
    #9B7EC8
    RGB
    rgb(155, 126, 200)
    HSL
    hsl(264, 40%, 64%)
    HSV
    hsv(264, 37%, 78%)
    CMYK
    cmyk(23%, 37%, 0%, 22%)

    Accessibility Contrast

    WCAG contrast ratios for #9B7EC8 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    3.38:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    6.21:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    2.91:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #9B7EC8 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 234, 264, and 294 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 264, 24, and 144 degrees.

    Color Palettes Using #9B7EC8

    Monochromatic Scale

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

    #231736 #462E6B #754DB3 #AC94D1 #D6C9E8
    Warm Harmony

    Adjacent hues from 264 to 309 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.

    #835EBA #9A5EBA #B15EBA #BA5EAC
    Cool Contrast

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

    #754DB3 #8AB34D #57B34D #4DB375
    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.

    #C8B8E0 #E0B8D0 #E0C8B8 #D0E0B8 #B8E0C8

    Shades & Tints of #9B7EC8

    Lightness variations at hue 264 and 40% saturation.

    CSS Gradients with #9B7EC8

    Purple to Green
    linear-gradient(135deg, #9b7ec8, #abc87e)
    Analogous Fade
    linear-gradient(90deg, #9b7ec8, #c17ec8)
    Deep to Light
    linear-gradient(180deg, #2a1c40, #cdbfe3)
    Tricolor Sweep
    linear-gradient(135deg, #9c7ec8, #c89c7e, #7ec89c)

    Design Use Cases for #9B7EC8

    Balanced UI Color

    At 40% saturation, #9B7EC8 strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.

    Soft Accent & Highlight

    With 64% lightness, #9B7EC8 has a softer, more approachable quality. It works well for hover states, subtle highlights, progress indicators, and secondary UI elements. This lightness range is particularly effective for tag backgrounds and status indicators.

    Creativity & Premium Positioning

    #9B7EC8 falls in the purple spectrum (hue 264). 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 #9B7EC8 (hue 264) to its complement at hue 84. For a subtler effect, try pairing with an analogous color at hue 294. Use CSS: background: linear-gradient(135deg, #9b7ec8, #abc87e);

    CSS Code for #9B7EC8

    /* Background */
    background-color: #9b7ec8;
    background-color: rgb(155, 126, 200);
    background-color: hsl(264, 40%, 64%);
    /* Text */
    color: #9b7ec8;
    /* Border */
    border: 2px solid #9b7ec8;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(155, 126, 200, 0.3);
    /* CSS Variable */
    --color-primary: 264 40% 64%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #9B7EC8 across image editing and color design tools.

    About Color #9B7EC8 (#9B7EC8)

    #9B7EC8 is a purple color (colour) with RGB channel values of 155 red, 126 green, and 200 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 264 degrees with 40% saturation and 64% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #9B7EC8 is 143/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 23% cyan, 37% magenta, 0% yellow, and 22% key (black).

    The WCAG contrast ratio of #9B7EC8 against white is 3.38:1 and against black is 6.21: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.21:1.

    The complementary colour #ABC87E creates maximum visual tension when paired with #9B7EC8. For more harmonious color combinations, use the analogous colours #7E86C8 and #C17EC8, 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 #9B7EC8

    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 #9B7EC8?
    #9B7EC8 is Color #9B7EC8, a purple color (colour) with RGB(155, 126, 200), HSL(264, 40%, 64%), and CMYK(23%, 37%, 0%, 22%). Its perceived brightness is 143/255.
    Is #9B7EC8 accessible for text?
    Against white, #9B7EC8 has a contrast ratio of 3.38:1 (fails AA for normal text). Against black, it has 6.21: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 #9B7EC8?
    The complementary colour is #ABC87E (hue 84). For subtle color combinations, use analogous colours #7E86C8 and #C17EC8. The triadic palette adds #C89C7E and #7EC89C for vibrant variety.
    How do I use #9B7EC8 in CSS?
    Use any format: color: #9b7ec8; or rgb(155, 126, 200); or hsl(264, 40%, 64%). For CSS custom properties: --color-primary: 264 40% 64%; 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.