Skip to content

#cfcfff

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

RGB
207, 207, 255
HSL
240°, 100%, 91%
CMYK
19, 19, 0, 0
Luminance
0.6511

Every format

HEX#cfcfff
RGBrgb(207, 207, 255)
HSLhsl(240, 100%, 91%)
CMYKcmyk(19%, 19%, 0%, 0%)
LABlab(84.5 9.6 -23.4)
LCHlch(84.5 25.3 292.3)
OKLCHoklch(0.870 0.066 284.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green81.2%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta18.8%
Yellow0.0%
Key (black)0.0%

Color previews

#cfcfff text on a black background

contrast 14.02:1

Card sample

#cfcfff text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcfff in the Color Lab