✓ Copied to clipboard
#BA40AC (Purple) color swatch preview — Color From Pic.
#BA40AC — Purple color swatch

Purple

#BA40AC

📝 Color Information for #BA40AC

The hexadecimal color code #BA40AC represents a medium shade in the purple family. In the RGB color model, this color is composed of 186 red, 64 green, and 172 blue, which translates to approximately 73% red, 25% green, and 67% blue. This makes it a slightly desaturated color with warm undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #BA40AC has a hue of 307 degrees, a saturation level of 49%, and a lightness value of 49%. The hue angle of 307° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 307°, saturation of 66%, and brightness/value of 73%. For print applications using the CMYK color model, #BA40AC would be reproduced using 0% cyan, 66% magenta, 8% yellow, and 27% black. The closest web-safe color is #CC3399, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #BA40AC with other colors, consider its complementary color at hue 127° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 12206252, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #BA40AC

Tailwind CSS
fuchsia-700
HEX
#BA40AC
RGB
rgb(186, 64, 172)
RGB %
73%, 25%, 67%
HSL
hsl(307, 49%, 49%)
HSV
hsv(307, 66%, 73%)
CMYK
0%, 66%, 8%, 27%
Decimal
12206252
Web Safe
#CC3399

🎨 Color Schemes for #BA40AC

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #BA40AC

🌗 Shades and Tints of #BA40AC

Shades (adding black)
Tints (adding white)

🎚️ Tones of #BA40AC

Tones (adding gray / desaturating)

🌈 Hue Variations of #BA40AC

Hue Variations (shifting the color spectrum)

👁️ Preview of #BA40AC in Use

Text on #BA40AC
This demonstrates text readability on the color background. (Click to edit)
#BA40AC as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #BA40AC

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #BA40AC

:root { --color-hex: #BA40AC; --color-rgb: 186, 64, 172; --color-hsl: 307, 49%, 49%; } .bg-color { background-color: #BA40AC; } .text-color { color: #BA40AC; } .border-color { border-color: #BA40AC; }

🛠️ Use #BA40AC in Your Project

🎨
Build a Palette with #BA40AC
Generate harmonious color schemes
⚖️
Check Contrast for #BA40AC
WCAG accessibility testing
🌈
Create a Gradient with #BA40AC
Beautiful CSS gradients

🔗 Related Colors to #BA40AC

#8B40BA
Hue -30°
#AA40BA
Hue -15°
#BA408D
Hue +15°
#BA406F
Hue +30°
#A03793
85% L
#812C77
70% L
#5F2158
50% L
#391435
30% L
#CA63BE
59% L
#D789CE
69% L
#E5B3DF
80% L
#F2D9EF
90% L

About Purple (#BA40AC)

Purple is a medium, moderately saturated, warm purple color with a hue angle of 307°, saturation of 49%, and lightness of 49%. Its RGB value is (186, 64, 172) and its CMYK breakdown is C:0% M:66% Y:8% K:27%.

This is a Summer (Cool) color palette archetype. Royalty, Luxury, Ambition, Magic. Purple combines the stability of blue and the energy of red.

Frequently Asked Questions About #BA40AC

What is the HEX code for Purple? +

The HEX code for Purple is #BA40AC. In CSS you can use it directly as color: #BA40AC; or as a background: background-color: #BA40AC;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #BA40AC? +

The RGB value of #BA40AC is rgb(186, 64, 172). This means the color contains 186 out of 255 parts red, 64 out of 255 parts green, and 172 out of 255 parts blue. Red is the strongest channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(186, 64, 172);

What is the HSL value of #BA40AC? +

The HSL value of #BA40AC is hsl(307, 49%, 49%). The hue is 307°, placing it in the purple family on the color wheel. The saturation is 49%, making it moderately saturated. The lightness is 49%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #BA40AC a warm or cool color? +

#BA40AC is classified as a warm color based on its hue angle of 307°. Warm colors — reds, oranges, and yellows — evoke energy, enthusiasm, and urgency. They tend to advance visually and draw the eye. In design, warm colors are often used for calls-to-action, food and hospitality brands, and anywhere a feeling of warmth or excitement is desired.

What is the CMYK value of #BA40AC? +

The approximate CMYK value of #BA40AC is C:0% M:66% Y:8% K:27%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #BA40AC with Other Tools

🔢
Color Converter
Get all formats for #BA40AC — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #BA40AC passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #BA40AC.
👓
Blindness Simulator
See how #BA40AC appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #BA40AC.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #BA40AC.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #BA40AC.
🔬
Technical Formats
See #BA40AC in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #BA40AC as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.