Skip to content

#cfcafe

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

RGB
207, 202, 254
HSL
246°, 96%, 89%
CMYK
19, 21, 0, 0
Luminance
0.6266

Every format

HEX#cfcafe
RGBrgb(207, 202, 254)
HSLhsl(246, 96%, 89%)
CMYKcmyk(19%, 21%, 0%, 0%)
LABlab(83.3 12.1 -24.8)
LCHlch(83.3 27.6 295.9)
OKLCHoklch(0.860 0.072 289.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcafe on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cfcafe on black: 13.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green79.2%
Blue99.6%

CMYK percentages

Cyan18.5%
Magenta20.5%
Yellow0.0%
Key (black)0.4%

Color previews

#cfcafe text on a black background

contrast 13.53:1

Card sample

#cfcafe text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcafe in the Color Lab