Even though they sound similar, these two are different conditions. Obsessive-compulsive personality disorder (OCPD) is a personality disorder that causes an extensive preoccupation with perfectionism, organization, and control.
People with OCPD usually don’t think that there is anything wrong with their behavior and beliefs.