Skip to content

#cdcdf0

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

RGB
205, 205, 240
HSL
240°, 54%, 87%
CMYK
15, 15, 0, 6
Luminance
0.6293

Every format

HEX#cdcdf0
RGBrgb(205, 205, 240)
HSLhsl(240, 54%, 87%)
CMYKcmyk(15%, 15%, 0%, 6%)
LABlab(83.4 6.9 -17.2)
LCHlch(83.4 18.5 291.8)
OKLCHoklch(0.860 0.048 285.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcdf0 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cdcdf0 on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green80.4%
Blue94.1%

CMYK percentages

Cyan14.6%
Magenta14.6%
Yellow0.0%
Key (black)5.9%

Color previews

#cdcdf0 text on a black background

contrast 13.59:1

Card sample

#cdcdf0 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcdf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcdf0 in the Color Lab