Photo in the color Lavender blue
Pictured: Lavender blue
rgb(204, 204, 255)
#CCCCFF

Lavender Blue #CCCCFF RGB Color Code

Also known as Periwinkle

Web-safe color.

Lavender Blue (#CCCCFF) is a muted, light blue. In RGB it is made of 80% red, 80% green and 100% blue (R 204, G 204, B 255). The blue channel is the strongest. In HSL it has a hue of 240°, 100% saturation and 90% lightness. Its relative luminance is 0.632, so black text is easier to read on top of it. For print, a rough CMYK match is 20% cyan, 20% magenta, 0% yellow and 0% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Lavender Blue color codes

#CCCCFF in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #CCCCFF Valid CSS
RGB rgb(204, 204, 255) Valid CSS
HSL hsl(240, 100%, 90%) Valid CSS
HSV / HSB hsv(240, 20%, 100%) Not a CSS format
HWB hwb(240 80% 0%) Valid CSS
CMYK cmyk(20%, 20%, 0%, 0%) Approximate (no ICC profile)
OKLCH oklch(86.22% 0.0705 284.83) Valid CSS
OKLab oklab(86.22% 0.018 -0.0681) Valid CSS
CIELAB lab(83.33% 7.76 -25.13) D50, as in CSS
CIELCH lch(83.33% 26.3 287.17) Valid CSS
Display P3 color(display-p3 0.8 0.8 0.9843) Valid CSS
XYZ (D65) color(xyz-d65 0.6454 0.6324 1.0342) Valid CSS
Decimal 13421823 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.6324. Nearest web-safe color: #CCCCFF.

Mix Lavender Blue with other colors

See what #CCCCFF makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Lavender Blue in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--lavender-blue: #CCCCFF;
Sass variable$lavender-blue: #CCCCFF;
Tailwind CSS v4@theme { --color-lavender-blue: #CCCCFF; }
Tailwind CSS v3 configcolors: { 'lavender-blue': '#CCCCFF' }
SwiftUIColor(red: 0.8, green: 0.8, blue: 1)
UIKitUIColor(red: 0.8, green: 0.8, blue: 1, alpha: 1)
Android XML<color name="lavender_blue">#FFCCCCFF</color>
Flutter and Jetpack ComposeColor(0xFFCCCCFF)

Accessibility and contrast

Black text works best on #CCCCFF (13.65:1, AAA). Here is how #CCCCFF does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.54:1 on white
APCA Lc 25
Fails AATry #7372A0
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
13.65:1 on black
APCA Lc -78
AAA

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Lavender Blue

#CCCCFF next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#CCCCFF stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

About the color Lavender Blue

Another name for periwinkle

Lavender blue is another name for periwinkle, a pale blue with a touch of purple. Both names share the code #CCCCFF on this site. That code matches the periwinkle in Maerz and Paul's A Dictionary of Color of 1930.

The same book dates the name blue lavender to 1926. The Oxford English Dictionary records periwinkle as a color name from 1922, according to the Wikipedia article on periwinkle.

More color than web lavender

The CSS color lavender, #E6E6FA, is so pale it is almost white. Lavender blue keeps red and green at 204 and turns blue all the way up, so the blue shows clearly. It is still a light color. Black text on it reaches a contrast of about 13.7 to 1.

Lavender Blue in a user interface

A sample app screen with #CCCCFF as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #CCCCFF as it is. On the light theme, #CCCCFF is too hard to read as text (1.54:1), so links, the badge and outline text use #7372A0 there (4.52:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Lavender Blue

These schemes turn the hue of #CCCCFF around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Lavender Blue

Four CSS gradients made from #CCCCFF. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #F5F5FF, #CCCCFF);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #CCCCFF, #373748);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #CCE6FF, #CCCCFF, #E6CCFF);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #CCCCFF, #E6CDE6, #FFCCCC);

Edit in the gradient generator

Shades, tints and tones of Lavender Blue

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Lavender Blue sits at step 200. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F6F6FF
  2. 100
    EAEBFF
  3. 200
    CCCCFF
  4. 300
    BCBCE6
  5. 400
    9E9ECC
  6. 500
    8181AF
  7. 600
    676693
  8. 700
    515078
  9. 800
    3F3E5F
  10. 900
    2E2D46
  11. 950
    1B1B29

Closest RAL, Tailwind and CSS colors

The nearest match to #CCCCFF in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of blue or search the color library.