Skip to content

#cfc2dc

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

RGB
207, 194, 220
HSL
270°, 27%, 81%
CMYK
6, 12, 0, 14
Luminance
0.5702

Every format

HEX#cfc2dc
RGBrgb(207, 194, 220)
HSLhsl(270, 27%, 81%)
CMYKcmyk(6%, 12%, 0%, 14%)
LABlab(80.2 9.3 -11.3)
LCHlch(80.2 14.7 309.6)
OKLCHoklch(0.833 0.038 307.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc2dc on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cfc2dc on black: 12.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green76.1%
Blue86.3%

CMYK percentages

Cyan5.9%
Magenta11.8%
Yellow0.0%
Key (black)13.7%

Color previews

#cfc2dc text on a black background

contrast 12.40:1

Card sample

#cfc2dc text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc2dc in the Color Lab