Skip to content

#cfdef6

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

RGB
207, 222, 246
HSL
217°, 68%, 89%
CMYK
16, 10, 0, 4
Luminance
0.7216

Every format

HEX#cfdef6
RGBrgb(207, 222, 246)
HSLhsl(217, 68%, 89%)
CMYKcmyk(16%, 10%, 0%, 4%)
LABlab(88.0 -0.2 -13.4)
LCHlch(88.0 13.4 269.1)
OKLCHoklch(0.897 0.037 259.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdef6 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#cfdef6 on black: 15.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.1%
Blue96.5%

CMYK percentages

Cyan15.9%
Magenta9.8%
Yellow0.0%
Key (black)3.5%

Color previews

#cfdef6 text on a black background

contrast 15.43:1

Card sample

#cfdef6 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 222, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 222, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdef6;
background: linear-gradient(135deg, #cfdef6, #DACFF6);

Monochromatic scale

Palettes built from #cfdef6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdef6 in the Color Lab