<svg style="width: 400px; height: 400px">
  <rect width="200" height="200" fill="purple" style="clip-path: fill-box"></rect>
</svg>