Maroon Colors  ·  Color Library

Palettes / Colors / #B151FB

#B151FB — Vivid Purple

#B151FB is a purple color we call Vivid Purple, closest to the named color BlueViolet (#8A2BE2). It belongs to the purple family.

Color name

Closest CSS keyword: blueviolet (#8A2BE2) — not an exact match. CSS blueviolet gives you #8A2BE2, a different color; use #B151FB 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.

#B151FB 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 #9AFB50; it also sits naturally between #5B50FB and #FB50F0. In the palettes below you can see it working alongside real color combinations from our collection.

#B151FB · RGB 177, 81, 251

Download PNG swatch SVG

Color values

HEX#B151FB
RGB177, 81, 251
HSL274°, 96%, 65%
HSV274°, 68%, 98%
CMYK29%, 68%, 0%, 2%
XYZ38.49, 22.20, 93.52
Yxy22.20, 0.2496, 0.1439
CIE-Lab54.24, 67.17, -69.02
Hunter Lab47.11, 66.93, -90.63

RGB & CMYK percentages

Red 69% · Green 32% · Blue 98%

Cyan 29% · Magenta 68% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #B151FB

.text { color: #B151FB; }
.background { background-color: #B151FB; }
.border { border: 3px solid #B151FB; }
.text-rgb { color: rgb(177, 81, 251); }
.text-hsl { color: hsl(274, 96%, 65%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #B151FB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(177, 81, 251, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #B151FB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(177, 81, 251, 0.8); }

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

Shades of #B151FB

#A432FB#9614FA#8705EB#7604CD#6504AF#51038C#3F026E#2E0250#1D0132#0C0014

Tints of #B151FB

#B85FFC#BF6EFC#C57DFC#CC8CFD#D5A0FD#DBAFFD#E2BEFE#E9CDFE#EFDCFE#F6EBFF

Tones of #B151FB

#B05DEF#AE68E3#AC75D7#AB81CA#A98EBE#A799B2

Color harmonies

Complementary — #9AFB50:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.86:1 AA large only
Against black text5.44:1 AA

Best text color on #B151FB: #000000.

Semi-transparent (opacity) text on #B151FB

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

How #B151FB looks with color blindness

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

Protanopia · #8787D2Deuteranopia · #8D94C8Tritanopia · #ACB1AA

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 purple 500 · #A855F7Tailwind violet 500 · #8B5CF6Tailwind fuchsia 500 · #D946EF

Palettes with a similar color

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

Honey Ruby Zephyr
#2C1012 · #E3F838 · #52FE48 · #B04AFF
Lucky Breeze
#8A0FAB · #B44DEF · #3FDD14 · #B1F09B
Palette 3d30a2
#3D30A2 · #B15EFF · #FFA33C · #FFFB73
Misty Ruby Monsoon
#630EA7 · #AA4CF0 · #80ED27 · #E5F7C7
Burning Canyon
#102935 · #7512FD · #B242FE · #FDBE3E
Honey Ruby Marble
#1A1206 · #F94FE5 · #1253FC · #A14CFE

Similar colors

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

#B04AFF#B44DEF#B15EFF#AA4CF0#B242FE#A14CFE#A85CF1#A94AEC#B13BFF#A642EE#B767FF#AA44E8

Browse neighbouring colors

← #B151FA  ·  #B151FC →

Frequently asked questions

What color is #B151FB?

#B151FB is Vivid Purple, a purple color (RGB 177, 81, 251). Its closest standard named color is BlueViolet.

What is the RGB and HSL of #B151FB?

#B151FB is RGB 177, 81, 251 — HSL 274°, 96%, 65% — CMYK 29%, 68%, 0%, 2%.

What colors go with #B151FB?

Its complement is #9AFB50; analogous partners are #5B50FB and #FB50F0. It also appears in 6+ palettes in our collection.

Can I use #B151FB for text?

Black text on #B151FB has a contrast ratio of 5.44:1 (passes WCAG AA); white text gives 3.86:1.