Periwinkle color: hex codes, shades and palettes

Palettes built around periwinkle. Click any swatch to copy its hex code.

Periwinkle is #CCCCFF — pale vivid blue. Below are its shades with hex codes, the values in every common format, and periwinkle color palettes to copy.

Periwinkle hex, RGB, HSL and OKLCH

#CCCCFF
HEX
#CCCCFF
RGB
rgb(204, 204, 255)
HSL
hsl(240, 100%, 90%)
OKLCH
oklch(86.2% 0.070 284.8)
On white
1.54:1
On black
13.65:1

Shades of periwinkle

Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Contrast and readability

Periwinkle on white measures 1.54:1 and on black 13.65:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.40:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors:blue, navy, royal blue, cobalt, transparent blue, steel blue. See every shade on the colors index.