Palette maker

Bisexual Flag Colors: Hex Codes and RGB Values

The bisexual flag colors are magenta , lavender and royal blue , laid out as three horizontal stripes with the narrow lavender band in the middle.

On this page
  1. Color codes
  2. Appearance
  3. Meaning
  4. History
  5. Specs
  6. CSS
  7. Accessibility
  8. Printing
  9. Palettes
  10. Related flags
  11. FAQ

The strip above has copyable HEX, RGB and HSL codes. Below I add CMYK and Pantone values, what each stripe means, how the colors behave in CSS, on paper and in accessibility checks, and where the palette works beyond the flag itself. I’m Calder Wynne, a brand and UI designer, and I’ve built color systems for brands, apps and print for twelve years.

Bisexual Flag Hex, RGB, HSL and CMYK Codes

Here are all the formats side by side. RGB and HSL are exact conversions from the hex codes. CMYK is a straight mathematical conversion, so treat it as a starting point for print, not a press-ready recipe.

Stripe HEX RGB HSL CMYK Pantone
Magenta 214, 2, 112 329°, 98%, 42% 0, 99, 48, 16 226
Lavender 155, 79, 150 304°, 32%, 46% 0, 49, 3, 39 258
Royal blue 0, 56, 168 220°, 100%, 33% 100, 67, 0, 34 286

The Pantone numbers come from the flag’s designer. Michael Page’s Pantone codes are PMS 226, 258 and 286. The hex values are the screen translations that nearly every flag reference now uses.

What Magenta, Lavender and Royal Blue Look Like

Magenta is a deep, hot pink with a raspberry edge. At 98% saturation and a hue of 329°, it sits closer to red than to a pastel pink. Royal blue is a saturated cobalt, dark enough to hold white text comfortably.

Three purple swatches compare flag lavender #9B4F96 with pale lavender #E6E6FA and digital purple #A349A4
Flag lavender is a muted plum, not a pale flower purple or the brighter digital #A349A4.

Lavender is the one people misjudge. Despite the name, it looks like a muted plum or orchid rather than a pale flower purple. Its saturation is only 32%, so it is the quietest of the three, and that restraint is what lets it read as a blend of its neighbors.

Some pages swap in brighter digital approximations such as for pink and for purple. They look louder on screen but are not the flag’s specified colors, so use them only when you want a neon feel.

Try this: Put the three hex codes in three equal swatches, then switch your screen to grayscale. Magenta and lavender will almost merge, which tells you early that they need a separator when they touch.

What Each Stripe Means

The standard reading of the stripes is short enough to memorize:

  • Magenta (top): attraction to the same gender
  • Royal blue (bottom): attraction to a different gender
  • Lavender (middle): the overlap, attraction to more than one gender

Page’s original wording framed the outer stripes as gay and lesbian on one side and straight on the other. He explained that the purple blends unnoticeably into both pink and blue, much as bi people blend into both communities. That blending idea explains the design: the purple is meant to feel like it belongs to both sides.

Today the outer stripes are more often described as same-gender and different-gender attraction. Purple is now widely read as attraction to more than one gender.

Who Designed the Bisexual Flag, and When

Michael Page, a Florida-based activist, created the flag. It was first unveiled at the BiCafe’s first anniversary party on December 5, 1998. He wanted the bisexual community to have a symbol comparable to the rainbow flag.

The colors were not invented from scratch. Page took them from the biangles, overlapping blue and pink triangles designed by Liz Nania, who co-organized a bisexual contingent for the 1987 March on Washington. The overlap of two triangles is the same idea as the lavender stripe.

The flag also helped start another one. Monica Helms got the idea for the transgender flag after talking with Page, who had designed the bi flag the year before. If you are comparing the two designs, the trans flag colors page has the full breakdown. Bi Visibility Day, on September 23, is the date most associated with the flag today.

Stripe Proportions and Pantone Numbers

The stripes are not equal. The flag has two-fifths pink, one-fifth purple and two-fifths blue. That 2:1:2 split is what makes the overlap read as a narrow bridge instead of a third equal color.

On a bisexual flag that is 720 px tall, how tall is the lavender stripe?

The stripes run 2:1:2, so the middle stripe is one fifth of the height, which is 144 px.

Aspect ratios of 2:3 and 3:5 are both common. For a 1200 by 720 px graphic, that means stripes of 288, 144 and 288 px. For a physical flag, the same fractions apply whatever the size.

Bisexual flag drawn to scale with 40, 20 and 40 percent stripes, hex codes and Pantone numbers
The bi flag splits 2:1:2, so narrow lavender #9B4F96 bridges magenta #D60270 and royal blue #0038A8.

Page chose Pantone Matching System colors named magenta, lavender and royal. That is useful to know when a printer asks for a spec: the official references are Pantone 226, 258 and 286, not a CMYK mix someone converted years ago.

Using the Bi Flag Colors in CSS

Define the colors once as variables, then reuse them. This keeps your pink, purple and blue consistent across components.

CSS variables

:root {
  --bi-magenta: #D60270;
  --bi-lavender: #9B4F96;
  --bi-blue: #0038A8;
}

A hard-stripe flag with one gradient

Using two positions per color stop gives crisp bands instead of a blend. The 40, 20, 40 split matches the real proportions.

.bi-flag {
  aspect-ratio: 5 / 3;
  background: linear-gradient(
    to bottom,
    #D60270 0 40%,
    #9B4F96 40% 60%,
    #0038A8 60% 100%
  );
}

For a soft fade instead, remove the paired positions and let the browser blend. Blends from magenta into lavender look natural. Lavender into blue does too, but a direct magenta to blue blend turns muddy in the middle. If you want a dark backdrop for the flag, the black purple gradient page has ready CSS to start from.

Contrast and Accessibility: Real WCAG Ratios

I computed these from the hex values using the WCAG relative luminance formula. Ratios are rounded, and 4.5:1 is the AA minimum for normal text.

  • Magenta on white: about 5.1:1 (passes AA)
  • Lavender on white: about 5.3:1 (passes AA)
  • Royal blue on white: about 9.9:1 (passes AAA)
  • Magenta against lavender: about 1.04:1 (effectively invisible as a text pair)
  • Magenta or lavender against royal blue: about 1.9:1 (fails for text)

The practical lesson is that white text works on all three stripes, but the colors do not work as text on each other. Black text is a poor choice too: it reaches only about 4.1:1 on magenta, 4.0:1 on lavender and 2.1:1 on blue.

Which pairing is the hardest to tell apart by brightness?

Magenta and lavender have almost the same relative luminance, about 1.04 to 1, so they blur together in grayscale.

Dark mode needs extra care. On a background, magenta drops to about 3.7:1 and royal blue to about 1.9:1. I hit this on a Pride campaign dashboard where the blue chart line vanished at night. The fix was a lighter tint of blue for dark surfaces, keeping for light surfaces, and I checked each tint before shipping it.

Printing the Bi Colors Without Surprises

Screens and paper disagree about magenta. Its RGB value of 214, 2, 112 is very saturated, and a CMYK conversion usually dulls it a little. I once approved a banner from a screen proof where the pink looked rich, then the uncoated stock delivered something closer to a flat rose. A second proof on the real paper fixed it.

For spot-color printing, ask for Pantone 226, 258 and 286. For process printing, ask for a proof on the actual stock and compare it against the Pantone swatches, not your monitor. The CMYK numbers in the table are a starting point for that conversation.

Printing checklist

Send the Pantone numbers, state the 2:1:2 stripe ratio, and request a physical proof on the final material.

Keep a clean paper-white margin around the flag. If you need to check how pure your white is, the white color page lists useful codes.

Branding, Fashion and Interior Palettes Built on the Flag

The three colors are strong, so they work best as accents with calm neutrals around them. A soft warm gray like the ones on the light gray page lets the flag colors stand out without competing. For interiors, a muted base such as sand makes a magenta cushion or a blue rug feel intentional instead of loud.

Flag Core

Pride campaigns, event posters and social graphics that need the true flag colors.

Soft Overlap

Gentle UI backgrounds, stationery and baby-soft branding with a quiet bi nod.

Bi Lighting Night

Dark-mode dashboards, music visuals and neon-style film stills.

Quiet Neutrals

Living rooms and fashion looks where the three colors work as accents.

In fashion, lavender is the easiest of the three to wear as a main color because of its low saturation. Magenta and blue work best as accents, trims or accessories. For softer branding, pale tints of each stripe, like the pinks on the cherry blossom page, give you the same story at lower volume.

Bi Lighting and the Look-Alike Flags

Bi lighting is a film and photo style that uses pink, purple and blue light together. Many queer artists have deliberately used this palette, which resembles the bisexual flag, in their work. Not every film, show or video that uses it intends to portray bisexuality. So the palette carries a strong association, but not a guaranteed one.

Don’t confuse the bi flag with its neighbors. The pansexual flag is magenta, yellow and cyan. The trans flag uses light blue, pink and white. The rainbow flag, created by Gilbert Baker in 1978, has more stripes and a different job.

If a project needs several flags, check each one’s own codes instead of copying across. Flags built from similar hues can differ by more than you expect, and the specific values matter most when they sit side by side.

The official colors and what they stand for

Bisexual Flag Colors: questions people ask

What are the bisexual flag colors and their hex codes?

The bisexual flag uses magenta #D60270, lavender #9B4F96 and royal blue #0038A8. The RGB values are 214, 2, 112 for magenta, 155, 79, 150 for lavender and 0, 56, 168 for blue.

What do the colors of the bisexual flag mean?

Magenta stands for attraction to the same gender and royal blue for attraction to a different gender. Lavender, where the two overlap, stands for attraction to more than one gender.

What are the Pantone colors for the bisexual flag?

Michael Page specified Pantone Matching System colors 226 for magenta, 258 for lavender and 286 for royal blue. Use these for spot-color print work instead of converting from hex.

What are the stripe proportions of the bi flag?

The stripes run 2:1:2, which means magenta takes 40 percent of the height, lavender 20 percent and blue 40 percent. Common flag shapes are 3:5 and 2:3.

Is the bisexual flag the same as bisexual lighting?

They share the same pink, purple and blue palette, but they are different things. Bisexual lighting is a film and photography style that many creators use deliberately, though not every use is meant to signal bisexuality.

Keep exploring