Color #B271CB Color / Colour Code #B271CB

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

    #B271CB

    Color Conversions

    HEX
    #B271CB
    RGB
    rgb(178, 113, 203)
    HSL
    hsl(283, 46%, 62%)
    HSV
    hsv(283, 44%, 80%)
    CMYK
    cmyk(12%, 44%, 0%, 20%)

    Accessibility Contrast

    WCAG contrast ratios for #B271CB against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    3.43:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    6.12:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    2.96:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 253, 283, and 313 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 283, 43, and 163 degrees.

    Color Palettes Using #B271CB

    Monochromatic Scale

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

    #2E1538 #5C2970 #9945BA #C28FD6 #E0C7EA
    Warm Harmony

    Adjacent hues from 283 to 328 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.

    #A357C1 #BE57C1 #C157AA #C15790
    Cool Contrast

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

    #9945BA #66BA45 #45BA5E #45BA99
    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.

    #D5B8E0 #E0B8C3 #E0D5B8 #C3E0B8 #B8E0D5

    Shades & Tints of #B271CB

    Lightness variations at hue 283 and 46% saturation.

    CSS Gradients with #B271CB

    Purple to Green
    linear-gradient(135deg, #b271cb, #8bcb72)
    Analogous Fade
    linear-gradient(90deg, #b271cb, #cb72b7)
    Deep to Light
    linear-gradient(180deg, #371943, #dabce6)
    Tricolor Sweep
    linear-gradient(135deg, #b172cb, #cbb172, #72cbb1)

    Design Use Cases for #B271CB

    Balanced UI Color

    At 46% saturation, #B271CB 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 62% lightness, #B271CB 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

    #B271CB falls in the purple spectrum (hue 283). 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 #B271CB (hue 283) to its complement at hue 103. For a subtler effect, try pairing with an analogous color at hue 313. Use CSS: background: linear-gradient(135deg, #b271cb, #8bcb72);

    CSS Code for #B271CB

    /* Background */
    background-color: #b271cb;
    background-color: rgb(178, 113, 203);
    background-color: hsl(283, 46%, 62%);
    /* Text */
    color: #b271cb;
    /* Border */
    border: 2px solid #b271cb;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(178, 113, 203, 0.3);
    /* CSS Variable */
    --color-primary: 283 46% 62%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #B271CB across image editing and color design tools.

    About Color #B271CB (#B271CB)

    #B271CB is a purple color (colour) with RGB channel values of 178 red, 113 green, and 203 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 283 degrees with 46% saturation and 62% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #B271CB 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 12% cyan, 44% magenta, 0% yellow, and 20% key (black).

    The WCAG contrast ratio of #B271CB against white is 3.43:1 and against black is 6.12: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.12:1.

    The complementary colour #8BCB72 creates maximum visual tension when paired with #B271CB. For more harmonious color combinations, use the analogous colours #8572CB and #CB72B7, 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 #B271CB

    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 #B271CB?
    #B271CB is Color #B271CB, a purple color (colour) with RGB(178, 113, 203), HSL(283, 46%, 62%), and CMYK(12%, 44%, 0%, 20%). Its perceived brightness is 143/255.
    Is #B271CB accessible for text?
    Against white, #B271CB has a contrast ratio of 3.43:1 (fails AA for normal text). Against black, it has 6.12: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 #B271CB?
    The complementary colour is #8BCB72 (hue 103). For subtle color combinations, use analogous colours #8572CB and #CB72B7. The triadic palette adds #CBB172 and #72CBB1 for vibrant variety.
    How do I use #B271CB in CSS?
    Use any format: color: #b271cb; or rgb(178, 113, 203); or hsl(283, 46%, 62%). For CSS custom properties: --color-primary: 283 46% 62%; 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.