Skip to content

#cecaf5

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

RGB
206, 202, 245
HSL
246°, 68%, 88%
CMYK
16, 18, 0, 4
Luminance
0.6196

Every format

HEX#cecaf5
RGBrgb(206, 202, 245)
HSLhsl(246, 68%, 88%)
CMYKcmyk(16%, 18%, 0%, 4%)
LABlab(82.9 9.8 -20.6)
LCHlch(82.9 22.8 295.5)
OKLCHoklch(0.856 0.059 289.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecaf5 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#cecaf5 on black: 13.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green79.2%
Blue96.1%

CMYK percentages

Cyan15.9%
Magenta17.6%
Yellow0.0%
Key (black)3.9%

Color previews

#cecaf5 text on a black background

contrast 13.39:1

Card sample

#cecaf5 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecaf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecaf5 in the Color Lab