#BA8CDB Color Information
Hex color code: #BA8CDB
The hex color #BA8CDB is a subtle purple with RGB values of (186, 140, 219) and HSL of (275°, 52%, 70%). It is often used for branding and logos.
Shades
color: #BA8CDB; background-color: #BA8CDB; border-color: #BA8CDB; box-shadow: 0 0 10px #BA8CDB; border: 2px solid #BA8CDB;
bg-[#BA8CDB] text-[#BA8CDB] border-[#BA8CDB] shadow-[0_0_10px_BA8CDB]
Generate Gradient
background: linear-gradient(90deg, #BA8CDB, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #BA8CDB in the color wheel.
RGB, HSL and CMYK Values
RGB
186, 140, 219
Red: 186 / Green: 140 / Blue: 219
HSL
275°, 52%, 70%
Hue: 275° / Saturation: 52% / Lightness: 70%
CMYK
15%, 36%, 0%, 14%
Cyan: 15% / Magenta: 36% / Yellow: 0% / Key: 14%
What color is #BA8CDB?
#BA8CDB is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A neutral purple tone, #BA8CDB has RGB (186, 140, 219) and HSL (275°, 52%, 70%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #BA8CDB is #ACDA8B, creating high-contrast pairings. For softer combinations, try analogous colors like #918BDA.
Use #BA8CDB in CSS: color: #BA8CDB or background-color: #BA8CDB. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #BA8CDB
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #BA8CDB?
#BA8CDB is a neutral purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #BA8CDB?
#BA8CDB in RGB is (186, 140, 219) - 186 red, 140 green, and 219 blue.
How to use #BA8CDB in CSS?
Use #BA8CDB directly in your CSS properties like color or background-color.