Skip to content

#cdcdf1

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

RGB
205, 205, 241
HSL
240°, 56%, 88%
CMYK
15, 15, 0, 6
Luminance
0.6299

Every format

HEX#cdcdf1
RGBrgb(205, 205, 241)
HSLhsl(240, 56%, 88%)
CMYKcmyk(15%, 15%, 0%, 6%)
LABlab(83.4 7.1 -17.7)
LCHlch(83.4 19.0 291.8)
OKLCHoklch(0.860 0.050 285.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green80.4%
Blue94.5%

CMYK percentages

Cyan14.9%
Magenta14.9%
Yellow0.0%
Key (black)5.5%

Color previews

#cdcdf1 text on a black background

contrast 13.60:1

Card sample

#cdcdf1 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcdf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcdf1 in the Color Lab