Skip to content

#cfc8ff

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

RGB
207, 200, 255
HSL
248°, 100%, 89%
CMYK
19, 22, 0, 0
Luminance
0.6179

Every format

HEX#cfc8ff
RGBrgb(207, 200, 255)
HSLhsl(248, 100%, 89%)
CMYKcmyk(19%, 22%, 0%, 0%)
LABlab(82.8 13.3 -26.1)
LCHlch(82.8 29.3 297.1)
OKLCHoklch(0.857 0.076 290.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc8ff on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#cfc8ff on black: 13.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.4%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta21.6%
Yellow0.0%
Key (black)0.0%

Color previews

#cfc8ff text on a black background

contrast 13.36:1

Card sample

#cfc8ff text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc8ff in the Color Lab