#B97FE8 Color Information

Hex color code: #B97FE8

A balanced purple shade, #B97FE8 appears as (185, 127, 232) in RGB and (273°, 70%, 70%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#B97FE8
RGB
185, 127, 232
HSL
273°, 70%, 70%
CMYK
20%, 45%, 0%, 9%

Shades

CSS Usage
color: #B97FE8;
background-color: #B97FE8;
border-color: #B97FE8;
box-shadow: 0 0 10px #B97FE8;
border: 2px solid #B97FE8;
Tailwind Usage
bg-[#B97FE8]
text-[#B97FE8]
border-[#B97FE8]
shadow-[0_0_10px_B97FE8]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #B97FE8, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #B97FE8; color: #000000; }

Badge

New Feature
.badge { background-color: #B97FE8; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #B97FE8; background-color: #B97FE815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #B97FE820; border-left: 4px solid #B97FE8; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #B97FE8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #B97FE8 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 127, 232

Red: 185 / Green: 127 / Blue: 232

HSL

273°, 70%, 70%

Hue: 273° / Saturation: 70% / Lightness: 70%

CMYK

20%, 45%, 0%, 9%

Cyan: 20% / Magenta: 45% / Yellow: 0% / Key: 9%

What color is #B97FE8?

#B97FE8 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B97FE8 to RGB:

rgb(185, 127, 232)HEX to RGB Converter →

HEX to HSL

Convert #B97FE8 to HSL:

hsl(273, 70%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #B97FE8 to CMYK:

cmyk(20%, 45%, 0%, 9%)Color Converter →

Color Meaning and Usage

#B97FE8 is a subtle purple color with RGB values of 185, 127, 232 and HSL of 273°, 70%, 70%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B97FE8 is #ADE87D, creating high-contrast pairings. For softer combinations, try analogous colors like #827DE8.

Use #B97FE8 in CSS: color: #B97FE8 or background-color: #B97FE8. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #B97FE8

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.26:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B97FE8?

#B97FE8 is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B97FE8?

#B97FE8 in RGB is (185, 127, 232) - 185 red, 127 green, and 232 blue.

How to use #B97FE8 in CSS?

Use #B97FE8 directly in your CSS properties like color or background-color.

What colors go well with #B97FE8?

#ADE87D (complementary), #827DE8 (analogous), and #943CDD (lighter shade) work well with #B97FE8.