#B297F5 Color Information

Hex color code: #B297F5

#B297F5 is a delicate purple color. In RGB it is (178, 151, 245), and in HSL it is (257°, 82%, 78%). It is popular in mobile app design.

Try:
Color NamePlum
HEX
#B297F5
RGB
178, 151, 245
HSL
257°, 82%, 78%
CMYK
27%, 38%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #B297F5; 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 #B297F5; background-color: #B297F515; }

Alert / Toast

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

Link / Accent

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

a { color: #B297F5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 151, 245

Red: 178 / Green: 151 / Blue: 245

HSL

257°, 82%, 78%

Hue: 257° / Saturation: 82% / Lightness: 78%

CMYK

27%, 38%, 0%, 4%

Cyan: 27% / Magenta: 38% / Yellow: 0% / Key: 4%

What color is #B297F5?

#B297F5 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B297F5 to RGB:

rgb(178, 151, 245)HEX to RGB Converter →

HEX to HSL

Convert #B297F5 to HSL:

hsl(257, 82%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #B297F5 to CMYK:

cmyk(27%, 38%, 0%, 4%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #B297F5 has RGB (178, 151, 245) and HSL (257°, 82%, 78%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B297F5 is #DBF599, creating high-contrast pairings. For softer combinations, try analogous colors like #99ADF5.

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

Contrast with #B297F5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B297F5?

#B297F5 is a delicate purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B297F5?

#B297F5 in RGB is (178, 151, 245) - 178 red, 151 green, and 245 blue.

How to use #B297F5 in CSS?

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

What colors go well with #B297F5?

#DBF599 (complementary), #99ADF5 (analogous), and #7F53EE (lighter shade) work well with #B297F5.