Skip to content

#cfc7db

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

RGB
207, 199, 219
HSL
264°, 22%, 82%
CMYK
6, 9, 0, 14
Luminance
0.5923

Every format

HEX#cfc7db
RGBrgb(207, 199, 219)
HSLhsl(264, 22%, 82%)
CMYKcmyk(6%, 9%, 0%, 14%)
LABlab(81.4 6.5 -8.9)
LCHlch(81.4 11.0 306.0)
OKLCHoklch(0.842 0.029 303.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc7db on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cfc7db on black: 12.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.0%
Blue85.9%

CMYK percentages

Cyan5.5%
Magenta9.1%
Yellow0.0%
Key (black)14.1%

Color previews

#cfc7db text on a black background

contrast 12.85:1

Card sample

#cfc7db text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc7db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc7db in the Color Lab