The number 871227 (eight hundred seventy-one thousand two hundred twenty-seven) is written in Roman numerals as follows: DCCCLXXICCXXVII