Skip to content

#cecef2

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

RGB
206, 206, 242
HSL
240°, 58%, 88%
CMYK
15, 15, 0, 5
Luminance
0.6368

Every format

HEX#cecef2
RGBrgb(206, 206, 242)
HSLhsl(240, 58%, 88%)
CMYKcmyk(15%, 15%, 0%, 5%)
LABlab(83.8 7.1 -17.6)
LCHlch(83.8 19.0 291.8)
OKLCHoklch(0.863 0.050 285.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan14.9%
Magenta14.9%
Yellow0.0%
Key (black)5.1%

Color previews

#cecef2 text on a black background

contrast 13.74:1

Card sample

#cecef2 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecef2 in the Color Lab