About periwinkle
A pale blue-lavender named after the periwinkle flower. Its hex code is #CCCCFF, which is rgb(204, 204, 255): 204 red, 204 green and 255 blue on a scale of 0 to 255.
Periwinkle is a cool color.
Periwinkle tints and shades
Lighter tints (mixed with white) and darker shades (mixed with black) of periwinkle. Click any of them to copy its hex code.
Colors that go with periwinkle
Complementary
The opposite color on the color wheel, for strong contrast.
Analogous
Neighbors on the color wheel, for a calm, matching look.
Triadic
Three colors evenly spaced around the wheel, for a balanced, lively palette.
Split complementary
The two colors either side of the complement: contrast without clashing.
Text on periwinkle
White text
Black text
For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on periwinkle. Test other combinations with the contrast checker.
Using periwinkle in CSS
.element {
color: #CCCCFF;
background-color: rgb(204 204 255);
border-color: hsl(240 100% 90%);
}
Frequently asked questions
What is the hex code for periwinkle?
Periwinkle is #CCCCFF. In RGB it's rgb(204, 204, 255), and in HSL it's hsl(240, 100%, 90%).
What colors go with periwinkle?
Its complementary color is #FFFFCC, which gives strong contrast. For a softer look, use analogous colors #CCE5FF and #E5CCFF. Periwinkle also pairs well with charcoal or black.
Is periwinkle warm or cool?
Periwinkle is a cool color.
Should I use white or black text on periwinkle?
Use black text. Its contrast ratio on periwinkle is 13.64:1, versus 1.53:1 for white.
Similar colors
- Lavender#E6E6FArgb(230, 230, 250)
- Blue#0000FFrgb(0, 0, 255)
- Royal blue#4169E1rgb(65, 105, 225)
- Mauve#E0B0FFrgb(224, 176, 255)
- Violet#7F00FFrgb(127, 0, 255)
- Navy blue#000080rgb(0, 0, 128)
See all popular colors · All HTML color names · Open periwinkle in the color picker