Skip to content

#cecdf4

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

RGB
206, 205, 244
HSL
242°, 64%, 88%
CMYK
16, 16, 0, 4
Luminance
0.6332

Every format

HEX#cecdf4
RGBrgb(206, 205, 244)
HSLhsl(242, 64%, 88%)
CMYKcmyk(16%, 16%, 0%, 4%)
LABlab(83.6 8.0 -19.0)
LCHlch(83.6 20.6 292.9)
OKLCHoklch(0.862 0.054 286.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecdf4 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#cecdf4 on black: 13.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan15.6%
Magenta16.0%
Yellow0.0%
Key (black)4.3%

Color previews

#cecdf4 text on a black background

contrast 13.66:1

Card sample

#cecdf4 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecdf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecdf4 in the Color Lab