Skip to content

#cdc8ff

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

RGB
205, 200, 255
HSL
246°, 100%, 89%
CMYK
20, 22, 0, 0
Luminance
0.6151

Every format

HEX#cdc8ff
RGBrgb(205, 200, 255)
HSLhsl(246, 100%, 89%)
CMYKcmyk(20%, 22%, 0%, 0%)
LABlab(82.7 12.8 -26.3)
LCHlch(82.7 29.2 295.9)
OKLCHoklch(0.855 0.076 288.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdc8ff on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#cdc8ff on black: 13.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green78.4%
Blue100.0%

CMYK percentages

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

Color previews

#cdc8ff text on a black background

contrast 13.30:1

Card sample

#cdc8ff text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdc8ff in the Color Lab