Skip to content

#cfcff2

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

RGB
207, 207, 242
HSL
240°, 57%, 88%
CMYK
15, 15, 0, 5
Luminance
0.6430

Every format

HEX#cfcff2
RGBrgb(207, 207, 242)
HSLhsl(240, 57%, 88%)
CMYKcmyk(15%, 15%, 0%, 5%)
LABlab(84.1 6.8 -17.1)
LCHlch(84.1 18.5 291.7)
OKLCHoklch(0.866 0.048 285.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcff2 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cfcff2 on black: 13.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green81.2%
Blue94.9%

CMYK percentages

Cyan14.5%
Magenta14.5%
Yellow0.0%
Key (black)5.1%

Color previews

#cfcff2 text on a black background

contrast 13.86:1

Card sample

#cfcff2 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcff2 in the Color Lab