Photo in the color Thistle
Pictured: Thistle, the closest color we have a photo of (#D8BFD8)
rgb(204, 187, 221)
#CCBBDD

Sweet Lucid Dreams #CCBBDD RGB Color Code

Name from the community color list.

Sweet Lucid Dreams (#CCBBDD) is a muted, light purple. In RGB it is made of 80% red, 73% green and 87% blue (R 204, G 187, B 221). The blue channel is the strongest. In HSL it has a hue of 270°, 33% saturation and 80% lightness. Its relative luminance is 0.536, so black text is easier to read on top of it. For print, a rough CMYK match is 8% cyan, 15% magenta, 0% yellow and 13% 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

Sweet Lucid Dreams color codes

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

FormatValueNotesCopy
HEX #CCBBDD Valid CSS
RGB rgb(204, 187, 221) Valid CSS
HSL hsl(270, 33%, 80%) Valid CSS
HSV / HSB hsv(270, 15%, 87%) Not a CSS format
HWB hwb(270 73% 13%) Valid CSS
CMYK cmyk(8%, 15%, 0%, 13%) Approximate (no ICC profile)
OKLCH oklch(81.7% 0.0505 307.78) Valid CSS
OKLab oklab(81.7% 0.0309 -0.0399) Valid CSS
CIELAB lab(78.14% 10.94 -14.81) D50, as in CSS
CIELCH lch(78.14% 18.41 306.46) Valid CSS
Display P3 color(display-p3 0.7887 0.7357 0.8568) Valid CSS
XYZ (D65) color(xyz-d65 0.5572 0.536 0.7582) Valid CSS
Decimal 13417437 Integer (0xRRGGBB)

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

Mix Sweet Lucid Dreams with other colors

See what #CCBBDD 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 Sweet Lucid Dreams in your code

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

WhereCodeCopy
CSS variable--sweet-lucid-dreams: #CCBBDD;
Sass variable$sweet-lucid-dreams: #CCBBDD;
Tailwind CSS v4@theme { --color-sweet-lucid-dreams: #CCBBDD; }
Tailwind CSS v3 configcolors: { 'sweet-lucid-dreams': '#CCBBDD' }
SwiftUIColor(red: 0.8, green: 0.733, blue: 0.867)
UIKitUIColor(red: 0.8, green: 0.733, blue: 0.867, alpha: 1)
Android XML<color name="sweet_lucid_dreams">#FFCCBBDD</color>
Flutter and Jetpack ComposeColor(0xFFCCBBDD)

Accessibility and contrast

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

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.79:1 on white
APCA Lc 33
Fails AATry #807190
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
11.72:1 on black
APCA Lc -70
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 Sweet Lucid Dreams

#CCBBDD 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

With deuteranopia and tritanopia, #CCBBDD and #BBDDCC look much alike. With tritanopia, #CCBBDD and #CCDDBB look much alike. Don't use these colors alone to tell things apart, for example in a chart. Add labels, patterns or a difference in lightness. Try your own colors in the color blindness simulator.

Sweet Lucid Dreams in a user interface

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

Light theme

Dark theme

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

Color harmonies for Sweet Lucid Dreams

These schemes turn the hue of #CCBBDD 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 Sweet Lucid Dreams

Four CSS gradients made from #CCBBDD. 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, #F5F1F8, #CCBBDD);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #CCBBDD, #37323D);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #BBBBDD, #CCBBDD, #DDBBDD);

Edit in the gradient generator

Triadic

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

background: linear-gradient(135deg, #CCBBDD, #D4C4CD, #DDCCBB);

Edit in the gradient generator

Shades, tints and tones of Sweet Lucid Dreams

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)

Sweet Lucid Dreams sits at step 300. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F9F4FF
  2. 100
    F1E9F9
  3. 200
    E0D6EB
  4. 300
    CCBBDD
  5. 400
    AB9CBB
  6. 500
    8E7E9E
  7. 600
    746482
  8. 700
    5C4F69
  9. 800
    483D53
  10. 900
    352C3D
  11. 950
    1F1B24

Closest RAL, Tailwind and CSS colors

The nearest match to #CCBBDD 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 purple or search the color library.