Skip to content

#cecdf5

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

RGB
206, 205, 245
HSL
242°, 67%, 88%
CMYK
16, 16, 0, 4
Luminance
0.6338

Every format

HEX#cecdf5
RGBrgb(206, 205, 245)
HSLhsl(242, 67%, 88%)
CMYKcmyk(16%, 16%, 0%, 4%)
LABlab(83.6 8.2 -19.5)
LCHlch(83.6 21.1 292.9)
OKLCHoklch(0.862 0.055 286.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecdf5 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#cecdf5 on black: 13.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green80.4%
Blue96.1%

CMYK percentages

Cyan15.9%
Magenta16.3%
Yellow0.0%
Key (black)3.9%

Color previews

#cecdf5 text on a black background

contrast 13.68:1

Card sample

#cecdf5 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecdf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecdf5 in the Color Lab