Skip to content

#cfc2ee

a light, vivid violet · warm · closest name: lavender

RGB
207, 194, 238
HSL
258°, 56%, 85%
CMYK
13, 19, 0, 7
Luminance
0.5802

Every format

HEX#cfc2ee
RGBrgb(207, 194, 238)
HSLhsl(258, 56%, 85%)
CMYKcmyk(13%, 19%, 0%, 7%)
LABlab(80.8 13.0 -20.1)
LCHlch(80.8 23.9 302.8)
OKLCHoklch(0.839 0.062 298.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc2ee on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cfc2ee on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green76.1%
Blue93.3%

CMYK percentages

Cyan13.0%
Magenta18.5%
Yellow0.0%
Key (black)6.7%

Color previews

#cfc2ee text on a black background

contrast 12.60:1

Card sample

#cfc2ee text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc2ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc2ee in the Color Lab