Skip to content

#cecdf2

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

RGB
206, 205, 242
HSL
242°, 59%, 88%
CMYK
15, 15, 0, 5
Luminance
0.6320

Every format

HEX#cecdf2
RGBrgb(206, 205, 242)
HSLhsl(242, 59%, 88%)
CMYKcmyk(15%, 15%, 0%, 5%)
LABlab(83.5 7.6 -18.0)
LCHlch(83.5 19.6 292.8)
OKLCHoklch(0.861 0.051 286.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green80.4%
Blue94.9%

CMYK percentages

Cyan14.9%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#cecdf2 text on a black background

contrast 13.64:1

Card sample

#cecdf2 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecdf2 in the Color Lab