#BA87EE Color Information
Hex color code: #BA87EE
The hex color #BA87EE is a vivid purple with RGB values of (186, 135, 238) and HSL of (270°, 75%, 73%). It is commonly used in modern UI design.
Shades
color: #BA87EE; background-color: #BA87EE; border-color: #BA87EE; box-shadow: 0 0 10px #BA87EE; border: 2px solid #BA87EE;
bg-[#BA87EE] text-[#BA87EE] border-[#BA87EE] shadow-[0_0_10px_BA87EE]
Generate Gradient
background: linear-gradient(90deg, #BA87EE, #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 #BA87EE in the color wheel.
RGB, HSL and CMYK Values
RGB
186, 135, 238
Red: 186 / Green: 135 / Blue: 238
HSL
270°, 75%, 73%
Hue: 270° / Saturation: 75% / Lightness: 73%
CMYK
22%, 43%, 0%, 7%
Cyan: 22% / Magenta: 43% / Yellow: 0% / Key: 7%
What color is #BA87EE?
#BA87EE is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#BA87EE is a bold purple color with RGB values of 186, 135, 238 and HSL of 270°, 75%, 73%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #BA87EE is #BAEE87, creating high-contrast pairings. For softer combinations, try analogous colors like #8787EE.
Use #BA87EE in CSS: color: #BA87EE or background-color: #BA87EE. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #BA87EE
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 #BA87EE?
#BA87EE is a bold purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #BA87EE?
#BA87EE in RGB is (186, 135, 238) - 186 red, 135 green, and 238 blue.
How to use #BA87EE in CSS?
Use #BA87EE directly in your CSS properties like color or background-color.