Skip to content

#cdcdff

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

RGB
205, 205, 255
HSL
240°, 100%, 90%
CMYK
20, 20, 0, 0
Luminance
0.6386

Every format

HEX#cdcdff
RGBrgb(205, 205, 255)
HSLhsl(240, 100%, 90%)
CMYKcmyk(20%, 20%, 0%, 0%)
LABlab(83.9 10.1 -24.4)
LCHlch(83.9 26.4 292.4)
OKLCHoklch(0.865 0.069 284.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcdff on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cdcdff on black: 13.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green80.4%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta19.6%
Yellow0.0%
Key (black)0.0%

Color previews

#cdcdff text on a black background

contrast 13.77:1

Card sample

#cdcdff text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcdff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcdff in the Color Lab