I've made something similar on a data editing UI back in 2011. But I found that showing the label only on field focus wasn't really suitable for UIs that contained multiple fields of similar data.
Like in the example below[1] there are two fields where you can enter coordinates data, but without a hint you wouldn't be able to distinguish where should one or the other go.