Skip to content

#cdcfff

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

RGB
205, 207, 255
HSL
238°, 100%, 90%
CMYK
20, 19, 0, 0
Luminance
0.6482

Every format

HEX#cdcfff
RGBrgb(205, 207, 255)
HSLhsl(238, 100%, 90%)
CMYKcmyk(20%, 19%, 0%, 0%)
LABlab(84.4 9.0 -23.6)
LCHlch(84.4 25.3 290.8)
OKLCHoklch(0.869 0.066 283.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcfff on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#cdcfff on black: 13.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green81.2%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta18.8%
Yellow0.0%
Key (black)0.0%

Color previews

#cdcfff text on a black background

contrast 13.96:1

Card sample

#cdcfff text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcfff in the Color Lab