Add to Chrome

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

9 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.

Periwinkle color values

#CCCCFFrgb(204, 204, 255)
Color spaces of #ccccff
RGB204204255
HSL240°100%90%
HSV240°20%100%
CMYK0.200.200.000.00
XYZ64.540463.2421103.3950
Yxy63.24210.27920.2736
CIE-Lab83.569610.2960-24.9100
Hunter Lab79.52495.6975-21.4190
OKLCH86.2%0.070284.8°

#CCCCFF is 204 red, 204 green and 255 blue. Its blue channel carries the most of it. The nearest of the 216 web safe colors is #CCCCFF.

CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.

Base numbers
BaseRedGreenBlue
Binary110011001100110011111111
Octal314314377
Decimal204204255
HexCCCCFF

#ccccff mixed with black

Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.

  • #CCCCFF
  • #B7B7E5
  • #A3A3CC
  • #8E8EB2
  • #7A7A99
  • #66667F
  • #515166
  • #3D3D4C
  • #282832
  • #141419
  • #000000

#ccccff mixed with white

The tint ramp, by the same rule in the other direction.

  • #CCCCFF
  • #D1D1FF
  • #D6D6FF
  • #DBDBFF
  • #E0E0FF
  • #E5E5FF
  • #EAEAFF
  • #EFEFFF
  • #F4F4FF
  • #F9F9FF
  • #FFFFFF

Channel shares

  • Red30.8%
  • Green30.8%
  • Blue38.5%

Color schemes

Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.

Complementary

  • #CCCCFF
  • #D8D59F

Triadic

  • #CCCCFF
  • #FAC4AC
  • #A7E1C6

Analogous

  • #CCCCFF
  • #E3C4F2
  • #B4D5FF

Monochromatic

  • #5F5E8B
  • #8281B0
  • #A6A6D7
  • #CCCCFF
  • #F7F8FF
  • #F7F8FF
  • #F7F8FF

#ccccff on black and on white

The quick brown fox jumps over the lazy dog. 13.65:1

The quick brown fox jumps over the lazy dog. 1.54:1

Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.

CSS for #ccccff

color: #ccccff;
background-color: #ccccff;
border: 3px solid #ccccff;
box-shadow: 1px 1px 3px 2px #ccccff;
text-shadow: 4px 4px 2px rgba(204, 204, 255, 0.8);

/* Perceptually even, and what a modern stylesheet wants */
color: oklch(86.2% 0.070 284.8);

The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands 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.

Get Palette Vault from the Microsoft Store