Skip to content

#ccd1fa

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

RGB
204, 209, 250
HSL
234°, 82%, 89%
CMYK
18, 16, 0, 2
Luminance
0.6534

Every format

HEX#ccd1fa
RGBrgb(204, 209, 250)
HSLhsl(234, 82%, 89%)
CMYKcmyk(18%, 16%, 0%, 2%)
LABlab(84.7 6.5 -20.6)
LCHlch(84.7 21.6 287.6)
OKLCHoklch(0.870 0.057 279.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd1fa on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ccd1fa on black: 14.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green82.0%
Blue98.0%

CMYK percentages

Cyan18.4%
Magenta16.4%
Yellow0.0%
Key (black)2.0%

Color previews

#ccd1fa text on a black background

contrast 14.07:1

Card sample

#ccd1fa text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd1fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd1fa in the Color Lab