Skip to content

#ccd1f7

a pale, vivid blue · warm · closest name: lavender

RGB
204, 209, 247
HSL
233°, 73%, 88%
CMYK
17, 15, 0, 3
Luminance
0.6515

Every format

HEX#ccd1f7
RGBrgb(204, 209, 247)
HSLhsl(233, 73%, 88%)
CMYKcmyk(17%, 15%, 0%, 3%)
LABlab(84.6 5.9 -19.2)
LCHlch(84.6 20.1 287.1)
OKLCHoklch(0.869 0.053 279.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd1f7 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#ccd1f7 on black: 14.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green82.0%
Blue96.9%

CMYK percentages

Cyan17.4%
Magenta15.4%
Yellow0.0%
Key (black)3.1%

Color previews

#ccd1f7 text on a black background

contrast 14.03:1

Card sample

#ccd1f7 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd1f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd1f7 in the Color Lab