Color #BA02FF Color / Colour Code #BA02FF

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

    #BA02FF

    Color Conversions

    HEX
    #BA02FF
    RGB
    rgb(186, 2, 255)
    HSL
    hsl(284, 100%, 50%)
    HSV
    hsv(284, 99%, 100%)
    CMYK
    cmyk(27%, 99%, 0%, 0%)

    Accessibility Contrast

    WCAG contrast ratios for #BA02FF against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    4.63:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    4.54:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    3.99:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 254, 284, and 314 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 284, 44, and 164 degrees.

    Color Palettes Using #BA02FF

    Monochromatic Scale

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

    #38004D #700099 #BB00FF #D666FF #EBB3FF
    Warm Harmony

    Adjacent hues from 284 to 329 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.

    #B730E8 #E530E8 #E830BD #E8308F
    Cool Contrast

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

    #A926D9 #56D926 #26D950 #26D9A9
    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.

    #D6B8E0 #E0B8C2 #E0D6B8 #C2E0B8 #B8E0D6

    Shades & Tints of #BA02FF

    Lightness variations at hue 284 and 100% saturation.

    CSS Gradients with #BA02FF

    Purple to Green
    linear-gradient(135deg, #ba02ff, #44ff00)
    Analogous Fade
    linear-gradient(90deg, #ba02ff, #ff00c3)
    Deep to Light
    linear-gradient(180deg, #43005c, #e7a3ff)
    Tricolor Sweep
    linear-gradient(135deg, #bb00ff, #ffbb00, #00ffbb)

    Design Use Cases for #BA02FF

    High-Impact Accent

    With 100% saturation, #BA02FF is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Soft Accent & Highlight

    With 50% lightness, #BA02FF 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

    #BA02FF falls in the purple spectrum (hue 284). 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 #BA02FF (hue 284) to its complement at hue 104. For a subtler effect, try pairing with an analogous color at hue 314. Use CSS: background: linear-gradient(135deg, #ba02ff, #44ff00);

    CSS Code for #BA02FF

    /* Background */
    background-color: #ba02ff;
    background-color: rgb(186, 2, 255);
    background-color: hsl(284, 100%, 50%);
    /* Text */
    color: #ba02ff;
    /* Border */
    border: 2px solid #ba02ff;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(186, 2, 255, 0.3);
    /* CSS Variable */
    --color-primary: 284 100% 50%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #BA02FF across image editing and color design tools.

    About Color #BA02FF (#BA02FF)

    #BA02FF is a purple color (colour) with RGB channel values of 186 red, 2 green, and 255 blue. The blue channel is dominant by a ratio of 127.5:1 over the weakest channel. In HSL terms, the hue sits at 284 degrees with 100% saturation and 50% lightness, placing it in the cool range of the colour spectrum.

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

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

    The complementary colour #44FF00 creates maximum visual tension when paired with #BA02FF. For more harmonious color combinations, use the analogous colours #3C00FF and #FF00C3, 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 #BA02FF

    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 #BA02FF?
    #BA02FF is Color #BA02FF, a purple color (colour) with RGB(186, 2, 255), HSL(284, 100%, 50%), and CMYK(27%, 99%, 0%, 0%). Its perceived brightness is 86/255.
    Is #BA02FF accessible for text?
    Against white, #BA02FF has a contrast ratio of 4.63:1 (passes AA for normal text). Against black, it has 4.54:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #BA02FF?
    The complementary colour is #44FF00 (hue 104). For subtle color combinations, use analogous colours #3C00FF and #FF00C3. The triadic palette adds #FFBB00 and #00FFBB for vibrant variety.
    How do I use #BA02FF in CSS?
    Use any format: color: #ba02ff; or rgb(186, 2, 255); or hsl(284, 100%, 50%). For CSS custom properties: --color-primary: 284 100% 50%; 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.