Skip to content

#cfcff4

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

RGB
207, 207, 244
HSL
240°, 63%, 88%
CMYK
15, 15, 0, 4
Luminance
0.6442

Every format

HEX#cfcff4
RGBrgb(207, 207, 244)
HSLhsl(240, 63%, 88%)
CMYKcmyk(15%, 15%, 0%, 4%)
LABlab(84.2 7.3 -18.1)
LCHlch(84.2 19.5 291.8)
OKLCHoklch(0.866 0.051 285.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcff4 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cfcff4 on black: 13.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green81.2%
Blue95.7%

CMYK percentages

Cyan15.2%
Magenta15.2%
Yellow0.0%
Key (black)4.3%

Color previews

#cfcff4 text on a black background

contrast 13.88:1

Card sample

#cfcff4 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcff4 in the Color Lab