Maroon Colors  ·  Color Library

Palettes / Colors / #B104F2

#B104F2 — Vivid Purple

#B104F2 is a purple color we call Vivid Purple, closest to the named color DarkViolet (#9400D3). It belongs to the purple family.

Color name

Closest CSS keyword: darkviolet (#9400D3) — not an exact match. CSS darkviolet gives you #9400D3, a different color; use #B104F2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#B104F2 is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #43F104; it also sits naturally between #3B04F1 and #F104BA. In the palettes below you can see it working alongside real color combinations from our collection.

#B104F2 · RGB 177, 4, 242

Download PNG swatch SVG

Color values

HEX#B104F2
RGB177, 4, 242
HSL284°, 97%, 48%
HSV284°, 98%, 95%
CMYK27%, 98%, 0%, 5%
XYZ34.20, 15.84, 85.26
Yxy15.84, 0.2528, 0.1171
CIE-Lab46.77, 85.08, -76.12
Hunter Lab39.81, 87.20, -105.19

RGB & CMYK percentages

Red 69% · Green 2% · Blue 95%

Cyan 27% · Magenta 98% · Yellow 0% · Key 5%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #B104F2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #B104F2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #B104F2

.text { color: #B104F2; }
.background { background-color: #B104F2; }
.border { border: 3px solid #B104F2; }
.text-rgb { color: rgb(177, 4, 242); }
.text-hsl { color: hsl(284, 97%, 48%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #B104F2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(177, 4, 242, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #B104F2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(177, 4, 242, 0.8); }

HTML: <p style="color:#B104F2">Text here</p> · <div style="background-color:#B104F2">Div content here</div>

Shades of #B104F2

#A303DD#9003C4#8203B0#6F0297#600283#51026F#3F0155#300141#1E0128#0F0014

Tints of #B104F2

#BD13FB#C42CFC#CA40FC#D159FC#D872FD#DF8BFD#E6A5FE#EBB9FE#F2D2FE#F9EBFF

Tones of #B104F2

#AA15E0#A226CF#9A37BE#9247AE#8A589D#82698C

Color harmonies

Complementary — #43F104:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.04:1 AA
Against black text4.17:1 AA large only

Best text color on #B104F2: #FFFFFF.

Semi-transparent (opacity) text on #B104F2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #B104F2: ·

How #B104F2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #6665B8Deuteranopia · #707DABTritanopia · #A88B81

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind fuchsia 600 · #C026D3Tailwind purple 600 · #9333EATailwind violet 600 · #7C3AED

Palettes with a similar color

These palettes use a close neighbour of #B104F2 rather than the exact color:

Lucky Dusk
#200B0A · #C942FD · #2DBAFC · #B819FA
Tranquil Twilight
#25090E · #D7FE3D · #C313FA · #5384F9
Electric Petal
#3E15AC · #AA1DE4 · #EB57D4 · #F3A0C2
Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Velvet Bloom
#3B0B0C · #92F717 · #3A55FA · #A823F8
Rustic Harbor
#210B07 · #A222F7 · #61F718 · #1221FD

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#B819FA#C313FA#AA1DE4#9400FF#A823F8#A222F7#9A1CFD#A412D4#9E22F6#B81FDA#9920EB#BF27EB

Browse neighbouring colors

← #B104F1  ·  #B104F3 →

Frequently asked questions

What color is #B104F2?

#B104F2 is Vivid Purple, a purple color (RGB 177, 4, 242). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #B104F2?

#B104F2 is RGB 177, 4, 242 — HSL 284°, 97%, 48% — CMYK 27%, 98%, 0%, 5%.

What colors go with #B104F2?

Its complement is #43F104; analogous partners are #3B04F1 and #F104BA. It also appears in 6+ palettes in our collection.

Can I use #B104F2 for text?

White text on #B104F2 has a contrast ratio of 5.04:1 (passes WCAG AA); black text gives 4.17:1.