#BA98F1 Color Information

Hex color code: #BA98F1

A ethereal purple shade, #BA98F1 appears as (186, 152, 241) in RGB and (263°, 76%, 77%) in HSL. It is typically applied in digital products.

Try:
Color NamePlum
HEX
#BA98F1
RGB
186, 152, 241
HSL
263°, 76%, 77%
CMYK
23%, 37%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA98F1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 152, 241

Red: 186 / Green: 152 / Blue: 241

HSL

263°, 76%, 77%

Hue: 263° / Saturation: 76% / Lightness: 77%

CMYK

23%, 37%, 0%, 5%

Cyan: 23% / Magenta: 37% / Yellow: 0% / Key: 5%

What color is #BA98F1?

#BA98F1 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA98F1 to RGB:

rgb(186, 152, 241)HEX to RGB Converter →

HEX to HSL

Convert #BA98F1 to HSL:

hsl(263, 76%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #BA98F1 to CMYK:

cmyk(23%, 37%, 0%, 5%)Color Converter →

Color Meaning and Usage

#BA98F1 is a airy purple color with RGB values of 186, 152, 241 and HSL of 263°, 76%, 77%. This blue-purple hue evokes creativity and luxury, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA98F1 is #CFF198, creating high-contrast pairings. For softer combinations, try analogous colors like #98A2F1.

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

Contrast with #BA98F1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA98F1?

#BA98F1 is a airy purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #BA98F1?

#BA98F1 in RGB is (186, 152, 241) - 186 red, 152 green, and 241 blue.

How to use #BA98F1 in CSS?

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

What colors go well with #BA98F1?

#CFF198 (complementary), #98A2F1 (analogous), and #8D54E8 (lighter shade) work well with #BA98F1.