Periwinkle Color Palette
#ECEBF4 · #5A5CAE · #3B3C86 · #14143E
Use #ECEBF4 as the background. Use #5A5CAE as the primary accent. Use #3B3C86 as secondary. Use #14143E as body text/supporting color. Palette mood: Periwinkle — pastel, cool, royal, vintage, moody.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Periwinkle color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 83.8% | 236, 235, 244 | 3%, 4%, 0%, 4% | 247°, 29%, 94% | ||
| Text · AA Luminance: 12.9% | 90, 92, 174 | 48%, 47%, 0%, 32% | 239°, 34%, 52% | ||
| Text · AAA Luminance: 5.9% | 59, 60, 134 | 56%, 55%, 0%, 47% | 239°, 39%, 38% | ||
| Text · AAA Luminance: 1.0% | 20, 20, 62 | 68%, 68%, 0%, 76% | 240°, 51%, 16% |
Periwinkle Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Periwinkle palette — click any swatch to copy its hex.
Periwinkle Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #14143E on #ECEBF4 |
Aa Sample Text
| 14.80:1 | AAA | Body text, headings, UI |
| #ECEBF4 on #14143E |
Aa Sample Text
| 14.80:1 | AAA | Body text, headings, UI |
| #3B3C86 on #ECEBF4 |
Aa Sample Text
| 8.15:1 | AAA | Body text, headings, UI |
| #ECEBF4 on #3B3C86 |
Aa Sample Text
| 8.15:1 | AAA | Body text, headings, UI |
| #5A5CAE on #ECEBF4 |
Aa Sample Text
| 4.96:1 | AA | Body text, UI |
| #ECEBF4 on #5A5CAE |
Aa Sample Text
| 4.96:1 | AA | Body text, UI |
| #14143E on #5A5CAE |
Aa Sample Text
| 2.98:1 | Fail | Decorative use only |
| #5A5CAE on #14143E |
Aa Sample Text
| 2.98:1 | Fail | Decorative use only |
| #14143E on #3B3C86 |
Aa Sample Text
| 1.81:1 | Fail | Decorative use only |
| #3B3C86 on #14143E |
Aa Sample Text
| 1.81:1 | Fail | Decorative use only |
| #3B3C86 on #5A5CAE |
Aa Sample Text
| 1.64:1 | Fail | Decorative use only |
| #5A5CAE on #3B3C86 |
Aa Sample Text
| 1.64:1 | Fail | Decorative use only |
Color Harmony: Monochromatic
4 of 4 colors sit at essentially the same hue (241°, blue); the palette varies them by lightness and saturation rather than hue.
Single-hue palettes are the easiest to keep consistent, but neighbouring slots can look flat — separate them with lightness steps of at least 15%.
History & Design Context
Best Design Use Cases
Measured best pair: #14143E on #ECEBF4 at 14.80:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Periwinkle
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #5A5CAE on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #5A5CAE — a calm secondary that extends the palette without adding tension
an ink-black carrying the palette's own hue — perfect for surfaces and dividers
Using Periwinkle Without Breaking Accessibility
- Use #5A5CAE for buttons and links — it scores 4.96:1 against the #ECEBF4 background (above the 3:1 UI-components threshold).
- Set body text in #14143E — 14.80:1 against #ECEBF4 passes WCAG AA (AAA) for long-form reading.
- Let #3B3C86 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #5A5CAE.
How to Implement the Periwinkle Color Scheme
To use this Periwinkle color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Periwinkle — ihatecolors */
--color-bg: #ECEBF4;
--color-accent: #5A5CAE;
--color-secondary: #3B3C86;
--color-text: #14143E;
} Web Design Tip
Use #ECEBF4 as the page background and #5A5CAE for primary buttons — they measure 4.96:1, which clears both the 3:1 UI threshold and the 4.5:1 body-text threshold.
Accessibility Note
Body copy in #14143E on #ECEBF4 measures 14.80:1, which passes WCAG AAA for normal text.
Periwinkle Palette — Frequently Asked Questions
What are the hex codes in the Periwinkle color palette?
The Periwinkle palette contains #ECEBF4, #5A5CAE, #3B3C86, #14143E. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the Periwinkle color palette accessible (WCAG)?
Yes. #14143E on #ECEBF4 reaches 14.80:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Periwinkle palette?
Beyond its own four colors, #AEAD5B, #8467A2, #131316 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the Periwinkle palette create?
Periwinkle reads as pastel, cool, royal. Gently saturated blue drives the personality, grounded by gently saturated blue — a combination that works best when the very light base gets most of the canvas.
Can I use the Periwinkle color palette commercially?
Yes. Individual color values can't be copyrighted, so the Periwinkle palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the Periwinkle palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Periwinkle's exact values, including the tint and shade ramps shown above.