Skip to content

#cdcdfc

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

RGB
205, 205, 252
HSL
240°, 89%, 90%
CMYK
19, 19, 0, 1
Luminance
0.6367

Every format

HEX#cdcdfc
RGBrgb(205, 205, 252)
HSLhsl(240, 89%, 90%)
CMYKcmyk(19%, 19%, 0%, 1%)
LABlab(83.8 9.4 -23.0)
LCHlch(83.8 24.8 292.3)
OKLCHoklch(0.864 0.065 285.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green80.4%
Blue98.8%

CMYK percentages

Cyan18.7%
Magenta18.7%
Yellow0.0%
Key (black)1.2%

Color previews

#cdcdfc text on a black background

contrast 13.73:1

Card sample

#cdcdfc text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcdfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcdfc in the Color Lab