Skip to content

#cdcdf8

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

RGB
205, 205, 248
HSL
240°, 75%, 89%
CMYK
17, 17, 0, 3
Luminance
0.6342

Every format

HEX#cdcdf8
RGBrgb(205, 205, 248)
HSLhsl(240, 75%, 89%)
CMYKcmyk(17%, 17%, 0%, 3%)
LABlab(83.7 8.6 -21.1)
LCHlch(83.7 22.7 292.1)
OKLCHoklch(0.862 0.059 285.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green80.4%
Blue97.3%

CMYK percentages

Cyan17.3%
Magenta17.3%
Yellow0.0%
Key (black)2.7%

Color previews

#cdcdf8 text on a black background

contrast 13.68:1

Card sample

#cdcdf8 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcdf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcdf8 in the Color Lab