Butterfly Pea Color Palette
#F0F0F8 · #D8C8E8 · #5A5AA8 · #1A1A4A
Use #F0F0F8 as the background. Use #D8C8E8 as the primary accent. Use #5A5AA8 as secondary. Use #1A1A4A as body text/supporting color. Palette mood: Butterfly Pea — magical, calm, unique.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Butterfly Pea 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: 87.6% | 240, 240, 248 | 3%, 3%, 0%, 3% | 240°, 36%, 96% | ||
| Decorative / accent Luminance: 61.7% | 216, 200, 232 | 7%, 14%, 0%, 9% | 270°, 41%, 85% | ||
| Text · AA Luminance: 12.3% | 90, 90, 168 | 46%, 46%, 0%, 34% | 240°, 31%, 51% | ||
| Text · AAA Luminance: 1.5% | 26, 26, 74 | 65%, 65%, 0%, 71% | 240°, 48%, 20% |
Butterfly Pea 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 Butterfly Pea palette — click any swatch to copy its hex.
Butterfly Pea 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 |
|---|---|---|---|---|
| #1A1A4A on #F0F0F8 |
Aa Sample Text
| 14.35:1 | AAA | Body text, headings, UI |
| #F0F0F8 on #1A1A4A |
Aa Sample Text
| 14.35:1 | AAA | Body text, headings, UI |
| #1A1A4A on #D8C8E8 |
Aa Sample Text
| 10.34:1 | AAA | Body text, headings, UI |
| #D8C8E8 on #1A1A4A |
Aa Sample Text
| 10.34:1 | AAA | Body text, headings, UI |
| #5A5AA8 on #F0F0F8 |
Aa Sample Text
| 5.34:1 | AA | Body text, UI |
| #F0F0F8 on #5A5AA8 |
Aa Sample Text
| 5.34:1 | AA | Body text, UI |
| #5A5AA8 on #D8C8E8 |
Aa Sample Text
| 3.85:1 | Fail | Large headings, UI components |
| #D8C8E8 on #5A5AA8 |
Aa Sample Text
| 3.85:1 | Fail | Large headings, UI components |
| #1A1A4A on #5A5AA8 |
Aa Sample Text
| 2.68:1 | Fail | Decorative use only |
| #5A5AA8 on #1A1A4A |
Aa Sample Text
| 2.68:1 | Fail | Decorative use only |
| #D8C8E8 on #F0F0F8 |
Aa Sample Text
| 1.38:1 | Fail | Decorative use only |
| #F0F0F8 on #D8C8E8 |
Aa Sample Text
| 1.38:1 | Fail | Decorative use only |
Color Harmony: Analogous
The saturated colors span 30° around 248° (blue) — neighbouring hues, not distinct ones.
Neighbouring hues read as cohesive and give little contrast between slots; build hierarchy from the lightness ladder rather than from hue.
History & Design Context
Best Design Use Cases
Measured best pair: #1A1A4A on #F0F0F8 at 14.35: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 Butterfly Pea
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 #D8C8E8 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #D8C8E8 — 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 Butterfly Pea Without Breaking Accessibility
- Avoid #D8C8E8 for small UI elements on #F0F0F8 — at 1.38:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #1A1A4A — 14.35:1 against #F0F0F8 passes WCAG AA (AAA) for long-form reading.
- Let #5A5AA8 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #D8C8E8.
How to Implement the Butterfly Pea Color Scheme
To use this Butterfly Pea 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 {
/* Butterfly Pea — ihatecolors */
--color-bg: #F0F0F8;
--color-accent: #D8C8E8;
--color-secondary: #5A5AA8;
--color-text: #1A1A4A;
} Web Design Tip
#D8C8E8 on #F0F0F8 measures 1.38:1 — the two are nearly indistinguishable, so this pair cannot separate a control from the page. Pick a different slot for actions, or use the darkest shade in the ramp.
Accessibility Note
Body copy in #1A1A4A on #F0F0F8 measures 14.35:1, which passes WCAG AAA for normal text.
Butterfly Pea Palette — Frequently Asked Questions
What are the hex codes in the Butterfly Pea color palette?
The Butterfly Pea palette contains #F0F0F8, #D8C8E8, #5A5AA8, #1A1A4A. 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 Butterfly Pea color palette accessible (WCAG)?
Yes. #1A1A4A on #F0F0F8 reaches 14.35: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 Butterfly Pea palette?
Beyond its own four colors, #B3D293, #E5CDE5, #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 Butterfly Pea palette create?
Butterfly Pea reads as magical, calm, unique. Gently saturated violet 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 Butterfly Pea color palette commercially?
Yes. Individual color values can't be copyrighted, so the Butterfly Pea 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 Butterfly Pea 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 Butterfly Pea's exact values, including the tint and shade ramps shown above.