Blue color · XKCD survey name

Periwinkle Color Code: #8E82FE

Periwinkle is a light, vivid blue color with the hexadecimal value #8E82FE. In RGB it is 142, 130, 254 and in HSL it is 246°, 98%, 75%. Black text reads best on it (6.77:1 contrast).

Periwinkle color values

HEX #8E82FE
RGB rgb(142, 130, 254)
HSL hsl(246, 98%, 75%)
HSV 246, 49%, 100%
HWB hwb(246 51% 0%)
CMYK 44%, 49%, 0%, 0%
Decimal 9339646
75%HSL lightness (light)
98%HSL saturation (vivid)
246°Hue angle (blue)
0.289Relative luminance

CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.

What is Periwinkle?

“Periwinkle” is a crowd-sourced name from the XKCD Color Survey, in which participants typed names for colors they were shown. It is a popular everyday label rather than an official standard.

Its hue angle of 246° places it in the blue part of the color wheel, with 98% saturation (vivid) and 75% lightness (light). It is a cool color.

Compared with the other blue colors in the Aqeeb Studio library, it is lighter than 84% of them and more saturated than 71% of them.

Its relative luminance is 0.289, which makes it a mid-tone color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.

Periwinkle counts as a light color: its HSL lightness is 75% and its relative luminance is 0.289. Black text reads best on it (6.77:1 contrast).

Text contrast on Periwinkle

WCAG contrast of white and black text on Periwinkle
TextPreviewRatioAA normalAA largeAAA normalAAA large
White text Sample text 3.09:1 Limited Fail Pass Fail Fail
Black text Sample text 6.77:1 Good Pass Pass Fail Pass

Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.

Colors that go with Periwinkle

Complementary color

Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.

Analogous colors

Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.

Triadic colors

A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.

Split-complementary colors

Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.

Tetradic colors

A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.

Monochromatic variants

Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.

#1502CA#1502CA
#2D16FD#2D16FD
#6D5DFE#6D5DFE
#ADA4FE#ADA4FE
#EDEBFF#EDEBFF

A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.

Tints and shades of Periwinkle

Lighter tints (mixed with white)

Darker shades (mixed with black)

Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.

Where to use Periwinkle

  • Card, highlight and section backgrounds with dark text (6.77:1 contrast with black)
  • Accents that need to stand out: call-to-action buttons, charts and illustrations
  • Large headings, icons and graphics, where a 3:1 contrast ratio is enough
  • Headers and navigation bars
  • Charts and dashboards
  • Links, buttons and primary interface accents

Use Periwinkle in CSS

:root {
  --color-periwinkle: #8E82FE;
}

.element {
  color: var(--color-periwinkle);
  background-color: #8E82FE;
  border: 2px solid #8E82FE;
}

Questions about Periwinkle

What is the HEX code for Periwinkle?

Periwinkle is #8E82FE.

What is the RGB value of Periwinkle?

The RGB value of Periwinkle is 142, 130, 254: 142 red, 130 green and 254 blue on a 0–255 scale, written rgb(142, 130, 254) in CSS.

What is the HSL value of Periwinkle?

The HSL value of Periwinkle is 246°, 98%, 75% (hue, saturation, lightness), written hsl(246, 98%, 75%) in CSS.

What is the CMYK value of Periwinkle?

A standard conversion gives about C 44%, M 49%, Y 0%, K 0%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.

Is Periwinkle a light or dark color?

Periwinkle counts as a light color: its HSL lightness is 75% and its relative luminance is 0.289. Black text reads best on it (6.77:1 contrast).

How does Periwinkle look with white text?

White text on Periwinkle has a contrast ratio of 3.09:1, rated Limited. It does not reach WCAG AA for normal text; use large text only.

How does Periwinkle look with black text?

Black text on Periwinkle has a contrast ratio of 6.77:1, rated Good. It meets WCAG AA for normal text.

What colors go well with Periwinkle?

Pale Yellow is its complementary color, and Carolina Blue sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.

Where can Periwinkle be used?

It suits card, highlight and section backgrounds with dark text (6.77:1 contrast with black); accents that need to stand out: call-to-action buttons, charts and illustrations; large headings, icons and graphics, where a 3:1 contrast ratio is enough.

How do I use Periwinkle in CSS?

Use color: #8E82FE; for text, background-color: #8E82FE; for fills, or define a custom property such as --color-periwinkle: #8E82FE; and reuse it with var(--color-periwinkle).

About this color page

Crowd-sourced name from the XKCD Color Survey (CC0). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.