\documentclass{article}
\usepackage{ptext}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{tikz,lipsum}
\usetikzlibrary{shadings,decorations.pathmorphing} 
\usepackage[listings,theorems,skins,breakable,documentation]{tcolorbox}
\usepackage{hyperref}
\usepackage{xepersian}

%\settextfont{HM FLotoos}

%\tcbset{noparskip}

\begin{document}
%----------------------------------------------------------
\section{جعبه‌های رنگی}

\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black]
می‌خواهیم این شکل در جعبه قرار بگیرد.

\begin{figure}[h]
\centering
\includegraphics{diff-stage}
\caption{تقویت‌کننده تفاضلی}
\end{figure}

\end{tcolorbox}

\begin{figure}[h]
\centering
\includegraphics[scale=1.2]{diff-stage}
\caption{تقویت‌کننده تفاضلی}
\end{figure}


\end{document}

