Maroon Colors  ·  Color Library

Palettes / Colors / #B104F8

#B104F8 — Vivid Purple

#B104F8 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 #B104F8 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.

#B104F8 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 #48F604; it also sits naturally between #3804F6 and #F604C2. In the palettes below you can see it working alongside real color combinations from our collection.

#B104F8 · RGB 177, 4, 248

Download PNG swatch SVG

Color values

HEX#B104F8
RGB177, 4, 248
HSL283°, 97%, 49%
HSV283°, 98%, 97%
CMYK29%, 98%, 0%, 3%
XYZ35.12, 16.21, 90.09
Yxy16.21, 0.2483, 0.1146
CIE-Lab47.25, 86.15, -78.70
Hunter Lab40.26, 88.77, -110.76

RGB & CMYK percentages

Red 69% · Green 2% · Blue 97%

Cyan 29% · Magenta 98% · Yellow 0% · Key 3%

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

Previews

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

CSS code for #B104F8

.text { color: #B104F8; }
.background { background-color: #B104F8; }
.border { border: 3px solid #B104F8; }
.text-rgb { color: rgb(177, 4, 248); }
.text-hsl { color: hsl(283, 97%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #B104F8; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(177, 4, 248, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #B104F8; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(177, 4, 248, 0.8); }

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

Shades of #B104F8

#A303E2#9103C9#8203B5#70029C#620288#50026F#41015A#2F0141#21012D#0E0014

Tints of #B104F8

#BB18FB#C12CFC#C845FC#D05EFD#D777FD#DD8BFD#E4A5FE#ECBEFE#F2D2FE#F9EBFF

Tones of #B104F8

#AA15E5#A227D3#9B38C2#9448B1#8C5AA0#856B8E

Color harmonies

Complementary — #48F604:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.95:1 AA
Against black text4.24:1 AA large only

Best text color on #B104F8: #FFFFFF.

Semi-transparent (opacity) text on #B104F8

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 #B104F8: ·

How #B104F8 looks with color blindness

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

Protanopia · #6665BDDeuteranopia · #707DAFTritanopia · #A88E84

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 #B104F8 rather than the exact color:

Lucky Dusk
#200B0A · #C942FD · #2DBAFC · #B819FA
Tranquil Twilight
#25090E · #D7FE3D · #C313FA · #5384F9
Palette 27005d
#27005D · #9400FF · #AED2FF · #E4F1FF
Velvet Bloom
#3B0B0C · #92F717 · #3A55FA · #A823F8
Electric Petal
#3E15AC · #AA1DE4 · #EB57D4 · #F3A0C2
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#9400FF#A823F8#AA1DE4#A222F7#9A1CFD#9E22F6#8C00FF#9920EB#BF27EB#A412D4

Browse neighbouring colors

← #B104F7  ·  #B104F9 →

Frequently asked questions

What color is #B104F8?

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

What is the RGB and HSL of #B104F8?

#B104F8 is RGB 177, 4, 248 — HSL 283°, 97%, 49% — CMYK 29%, 98%, 0%, 3%.

What colors go with #B104F8?

Its complement is #48F604; analogous partners are #3804F6 and #F604C2. It also appears in 6+ palettes in our collection.

Can I use #B104F8 for text?

White text on #B104F8 has a contrast ratio of 4.95:1 (passes WCAG AA); black text gives 4.24:1.