Skip to content

#cecaf9

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

RGB
206, 202, 249
HSL
245°, 80%, 88%
CMYK
17, 19, 0, 2
Luminance
0.6220

Every format

HEX#cecaf9
RGBrgb(206, 202, 249)
HSLhsl(245, 80%, 88%)
CMYKcmyk(17%, 19%, 0%, 2%)
LABlab(83.0 10.7 -22.5)
LCHlch(83.0 24.9 295.4)
OKLCHoklch(0.858 0.065 288.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecaf9 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#cecaf9 on black: 13.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green79.2%
Blue97.6%

CMYK percentages

Cyan17.3%
Magenta18.9%
Yellow0.0%
Key (black)2.4%

Color previews

#cecaf9 text on a black background

contrast 13.44:1

Card sample

#cecaf9 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecaf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecaf9 in the Color Lab