Skip to content

#ccccdf

a light, soft blue · warm · closest name: lavender

RGB
204, 204, 223
HSL
240°, 23%, 84%
CMYK
9, 9, 0, 13
Luminance
0.6135

Every format

HEX#ccccdf
RGBrgb(204, 204, 223)
HSLhsl(240, 23%, 84%)
CMYKcmyk(9%, 9%, 0%, 13%)
LABlab(82.6 3.6 -9.4)
LCHlch(82.6 10.1 291.0)
OKLCHoklch(0.851 0.026 285.8)

Copy-ready code

/* CSS */
color: #ccccdf;
background-color: #ccccdf;
/* Tailwind (arbitrary) */
class="text-[#ccccdf] bg-[#ccccdf]"
/* SCSS */
$brand: #ccccdf;
/* SwiftUI */
Color(red: 0.800, green: 0.800, blue: 0.875)
/* Android */
Color.parseColor("#ccccdf")

Accessibility — WCAG contrast

Aa
#ccccdf on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#ccccdf on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta8.5%
Yellow0.0%
Key (black)12.5%

Color previews

#ccccdf text on a black background

contrast 13.27:1

Card sample

#ccccdf text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ccccdf;
Background color
Panel with #ccccdf background
background-color: #ccccdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ccccdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(204, 204, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 204, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccccdf;
background: linear-gradient(135deg, #ccccdf, #D9CCDF);

Monochromatic scale

Palettes built from #ccccdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccccdf in the Color Lab