The present disclosure provides compounds that are JAK3 inhibitors and therefore useful for the treatment of diseases treatable by inhibition of JAK3 such as cancer and inflammatory diseases. Also provided are pharmaceutical compositions containing such compounds and processes for preparing such compounds.