Home / Colors / Periwinkle hex code

Periwinkle hex code

A pale blue-lavender named after the periwinkle flower.

#CCCCFF Periwinkle
HEX#CCCCFF
RGBrgb(204, 204, 255)
HSLhsl(240, 100%, 90%)
HSVhsv(240, 20%, 100%)
CMYKcmyk(20%, 20%, 0%, 0%)
Advertisement

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

1.53:1 · Fails for text

Black text

13.64:1 · Passes AAA for all 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%);
}
Advertisement

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

See all popular colors · All HTML color names · Open periwinkle in the color picker

Advertisement