Skip to content

#cecaf0

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

RGB
206, 202, 240
HSL
246°, 56%, 87%
CMYK
14, 16, 0, 6
Luminance
0.6165

Every format

HEX#cecaf0
RGBrgb(206, 202, 240)
HSLhsl(246, 56%, 87%)
CMYKcmyk(14%, 16%, 0%, 6%)
LABlab(82.7 8.8 -18.2)
LCHlch(82.7 20.2 295.7)
OKLCHoklch(0.854 0.052 290.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecaf0 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#cecaf0 on black: 13.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green79.2%
Blue94.1%

CMYK percentages

Cyan14.2%
Magenta15.8%
Yellow0.0%
Key (black)5.9%

Color previews

#cecaf0 text on a black background

contrast 13.33:1

Card sample

#cecaf0 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecaf0 in the Color Lab