Skip to content

#cfc8fb

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

RGB
207, 200, 251
HSL
248°, 86%, 88%
CMYK
18, 20, 0, 2
Luminance
0.6154

Every format

HEX#cfc8fb
RGBrgb(207, 200, 251)
HSLhsl(248, 86%, 88%)
CMYKcmyk(18%, 20%, 0%, 2%)
LABlab(82.7 12.5 -24.1)
LCHlch(82.7 27.2 297.4)
OKLCHoklch(0.855 0.071 291.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc8fb on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#cfc8fb on black: 13.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.4%
Blue98.4%

CMYK percentages

Cyan17.5%
Magenta20.3%
Yellow0.0%
Key (black)1.6%

Color previews

#cfc8fb text on a black background

contrast 13.31:1

Card sample

#cfc8fb text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc8fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc8fb in the Color Lab