Skip to content

#cdcef5

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

RGB
205, 206, 245
HSL
239°, 67%, 88%
CMYK
16, 16, 0, 4
Luminance
0.6371

Every format

HEX#cdcef5
RGBrgb(205, 206, 245)
HSLhsl(239, 67%, 88%)
CMYKcmyk(16%, 16%, 0%, 4%)
LABlab(83.8 7.4 -19.2)
LCHlch(83.8 20.6 291.0)
OKLCHoklch(0.863 0.054 284.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcef5 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#cdcef5 on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan16.3%
Magenta15.9%
Yellow0.0%
Key (black)3.9%

Color previews

#cdcef5 text on a black background

contrast 13.74:1

Card sample

#cdcef5 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcef5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcef5 in the Color Lab