Skip to content

#cecaf2

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

RGB
206, 202, 242
HSL
246°, 61%, 87%
CMYK
15, 17, 0, 5
Luminance
0.6177

Every format

HEX#cecaf2
RGBrgb(206, 202, 242)
HSLhsl(246, 61%, 87%)
CMYKcmyk(15%, 17%, 0%, 5%)
LABlab(82.8 9.2 -19.2)
LCHlch(82.8 21.3 295.6)
OKLCHoklch(0.855 0.055 289.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green79.2%
Blue94.9%

CMYK percentages

Cyan14.9%
Magenta16.5%
Yellow0.0%
Key (black)5.1%

Color previews

#cecaf2 text on a black background

contrast 13.35:1

Card sample

#cecaf2 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecaf2 in the Color Lab