#BA8AF4 Color Information

Hex color code: #BA8AF4

The hex color #BA8AF4 is a bold purple with RGB values of (186, 138, 244) and HSL of (267°, 83%, 75%). It is often used for branding and logos.

Try:
Color NamePlum
HEX
#BA8AF4
RGB
186, 138, 244
HSL
267°, 83%, 75%
CMYK
24%, 43%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA8AF4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 138, 244

Red: 186 / Green: 138 / Blue: 244

HSL

267°, 83%, 75%

Hue: 267° / Saturation: 83% / Lightness: 75%

CMYK

24%, 43%, 0%, 4%

Cyan: 24% / Magenta: 43% / Yellow: 0% / Key: 4%

What color is #BA8AF4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA8AF4 to RGB:

rgb(186, 138, 244)HEX to RGB Converter →

HEX to HSL

Convert #BA8AF4 to HSL:

hsl(267, 83%, 75%)RGB to HSL Converter →

HEX to CMYK

Convert #BA8AF4 to CMYK:

cmyk(24%, 43%, 0%, 4%)Color Converter →

Color Meaning and Usage

#BA8AF4 is a bold purple color with RGB values of 186, 138, 244 and HSL of 267°, 83%, 75%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA8AF4 is #C5F48A, creating high-contrast pairings. For softer combinations, try analogous colors like #8A90F4.

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

Contrast with #BA8AF4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA8AF4?

#BA8AF4 is a bold purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA8AF4?

#BA8AF4 in RGB is (186, 138, 244) - 186 red, 138 green, and 244 blue.

How to use #BA8AF4 in CSS?

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

What colors go well with #BA8AF4?

#C5F48A (complementary), #8A90F4 (analogous), and #9144EE (lighter shade) work well with #BA8AF4.