Skip to content

#cfc2e4

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

RGB
207, 194, 228
HSL
263°, 39%, 83%
CMYK
9, 15, 0, 11
Luminance
0.5745

Every format

HEX#cfc2e4
RGBrgb(207, 194, 228)
HSLhsl(263, 39%, 83%)
CMYKcmyk(9%, 15%, 0%, 11%)
LABlab(80.4 10.9 -15.2)
LCHlch(80.4 18.8 305.7)
OKLCHoklch(0.835 0.049 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc2e4 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cfc2e4 on black: 12.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green76.1%
Blue89.4%

CMYK percentages

Cyan9.2%
Magenta14.9%
Yellow0.0%
Key (black)10.6%

Color previews

#cfc2e4 text on a black background

contrast 12.49:1

Card sample

#cfc2e4 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc2e4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc2e4 in the Color Lab