Of 1217 offspring produced in a cross of one variety of plants, 919 had violet flowers and 298 had pink flowers. What is the trait in this cross?