periwinkle color code
The hex code for periwinkle is #CCCCFF, which is rgb(204, 204, 255) in RGB and cmyk(20%, 20%, 0%, 0%) in CMYK. It's a very light, vivid blue. There is no official standard for periwinkle; #CCCCFF is the value most colour references use.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer periwinkle; the codes update as you go.
Periwinkle colour codes
| HEX | #CCCCFF |
|---|---|
| RGB | rgb(204, 204, 255) |
| HSL | hsl(240, 100%, 90%) |
| HSV / HSB | hsv(240, 20%, 100%) |
| CMYK | cmyk(20%, 20%, 0%, 0%) |
| Decimal | 13421823 |
About periwinkle
Periwinkle sits at a hue of 240° on the colour wheel, with 100% saturation and 90% lightness. That makes it a cool colour: cool colours feel calm and steady and appear to recede, so they work well for large areas.
A pale blue-violet named after the periwinkle flower.
For text, black reads better on periwinkle. Periwinkle as text on a white background has a contrast ratio of 1.53:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 13.64:1, which passes AA for body text.
Tints and shades of periwinkle
Tints mix periwinkle with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with periwinkle
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Periwinkle text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| periwinkle on white | 1.53:1 | fail | fail | fail |
| periwinkle on black | 13.64:1 | pass | pass | pass |
Check periwinkle against any other colour in the contrast checker.
How periwinkle looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use periwinkle in code
.periwinkle {
color: #ccccff;
background-color: #ccccff;
border-color: rgb(204, 204, 255);
}Frequently asked questions
What is the hex code for periwinkle?
#CCCCFF is the most widely used value for periwinkle. There's no official standard, so paint, fabric and brand swatches called periwinkle can differ slightly; use the hex code to match it exactly on screen.
What is periwinkle in RGB, HSL and CMYK?
RGB: rgb(204, 204, 255). HSL: hsl(240, 100%, 90%). CMYK: cmyk(20%, 20%, 0%, 0%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with periwinkle?
Its complementary colour is #FFFFCC (close to cream), which gives the strongest contrast. For a calmer look, use the analogous colours #CCE6FF and #E6CCFF, or the triadic pair #FFCCCC and #CCFFCC. Tints and shades of periwinkle itself always work together.
Is periwinkle a warm or cool colour?
Periwinkle has a hue of 240°, which makes it cool.
Should I use black or white text on periwinkle?
Black. Black text on periwinkle has a contrast ratio of 13.64:1 and white text has 1.53:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Is periwinkle a CSS colour name?
No. Periwinkle isn't one of the named colours built into CSS, so write it as a hex code: color: #ccccff;