Color #BA27B0 Color / Colour Code #BA27B0

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

    #BA27B0

    Color Conversions

    HEX
    #BA27B0
    RGB
    rgb(186, 39, 176)
    HSL
    hsl(304, 65%, 44%)
    HSV
    hsv(304, 79%, 73%)
    CMYK
    cmyk(0%, 79%, 5%, 27%)

    Accessibility Contrast

    WCAG contrast ratios for #BA27B0 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.24:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    4.00:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.52:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 274, 304, and 334 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 304, 64, and 184 degrees.

    Color Palettes Using #BA27B0

    Monochromatic Scale

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

    #3F0D3C #7E1B78 #D22DC7 #E481DE #F2C0EE
    Warm Harmony

    Adjacent hues from 304 to 349 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.

    #D742CD #D742A8 #D74282 #D7425D
    Cool Contrast

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

    #D22DC7 #2DD238 #2DD28B #2DC7D2
    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.

    #E0B8DE #E0BAB8 #DEE0B8 #B8E0BA #B8DEE0

    Shades & Tints of #BA27B0

    Lightness variations at hue 304 and 65% saturation.

    CSS Gradients with #BA27B0

    Purple to Green
    linear-gradient(135deg, #ba27b0, #27b931)
    Analogous Fade
    linear-gradient(90deg, #ba27b0, #b92766)
    Deep to Light
    linear-gradient(180deg, #4c1048, #efb3eb)
    Tricolor Sweep
    linear-gradient(135deg, #b927af, #afb927, #27afb9)

    Design Use Cases for #BA27B0

    Vibrant Brand Color

    #BA27B0 has a strong 65% 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 44% lightness, #BA27B0 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

    #BA27B0 falls in the purple spectrum (hue 304). 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 #BA27B0 (hue 304) to its complement at hue 124. For a subtler effect, try pairing with an analogous color at hue 334. Use CSS: background: linear-gradient(135deg, #ba27b0, #27b931);

    CSS Code for #BA27B0

    /* Background */
    background-color: #ba27b0;
    background-color: rgb(186, 39, 176);
    background-color: hsl(304, 65%, 44%);
    /* Text */
    color: #ba27b0;
    /* Border */
    border: 2px solid #ba27b0;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(186, 39, 176, 0.3);
    /* CSS Variable */
    --color-primary: 304 65% 44%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #BA27B0 across image editing and color design tools.

    About Color #BA27B0 (#BA27B0)

    #BA27B0 is a purple color (colour) with RGB channel values of 186 red, 39 green, and 176 blue. The red channel is dominant by a ratio of 4.8:1 over the weakest channel. In HSL terms, the hue sits at 304 degrees with 65% saturation and 44% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #BA27B0 is 99/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 0% cyan, 79% magenta, 5% yellow, and 27% key (black).

    The WCAG contrast ratio of #BA27B0 against white is 5.24:1 and against black is 4.00: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 #27B931 creates maximum visual tension when paired with #BA27B0. For more harmonious color combinations, use the analogous colours #7A27B9 and #B92766, 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 #BA27B0

    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 #BA27B0?
    #BA27B0 is Color #BA27B0, a purple color (colour) with RGB(186, 39, 176), HSL(304, 65%, 44%), and CMYK(0%, 79%, 5%, 27%). Its perceived brightness is 99/255.
    Is #BA27B0 accessible for text?
    Against white, #BA27B0 has a contrast ratio of 5.24:1 (passes AA for normal text). Against black, it has 4.00:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #BA27B0?
    The complementary colour is #27B931 (hue 124). For subtle color combinations, use analogous colours #7A27B9 and #B92766. The triadic palette adds #AFB927 and #27AFB9 for vibrant variety.
    How do I use #BA27B0 in CSS?
    Use any format: color: #ba27b0; or rgb(186, 39, 176); or hsl(304, 65%, 44%). For CSS custom properties: --color-primary: 304 65% 44%; 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.