Skip to content

#cdcef4

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

RGB
205, 206, 244
HSL
239°, 64%, 88%
CMYK
16, 16, 0, 4
Luminance
0.6365

Every format

HEX#cdcef4
RGBrgb(205, 206, 244)
HSLhsl(239, 64%, 88%)
CMYKcmyk(16%, 16%, 0%, 4%)
LABlab(83.8 7.2 -18.7)
LCHlch(83.8 20.1 290.9)
OKLCHoklch(0.863 0.052 284.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcef4 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#cdcef4 on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green80.8%
Blue95.7%

CMYK percentages

Cyan16.0%
Magenta15.6%
Yellow0.0%
Key (black)4.3%

Color previews

#cdcef4 text on a black background

contrast 13.73:1

Card sample

#cdcef4 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 206, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 206, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcef4;
background: linear-gradient(135deg, #cdcef4, #E6CDF4);

Monochromatic scale

Palettes built from #cdcef4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcef4 in the Color Lab