Skip to content

#cfc7df

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

RGB
207, 199, 223
HSL
260°, 27%, 83%
CMYK
7, 11, 0, 13
Luminance
0.5944

Every format

HEX#cfc7df
RGBrgb(207, 199, 223)
HSLhsl(260, 27%, 83%)
CMYKcmyk(7%, 11%, 0%, 13%)
LABlab(81.5 7.3 -10.9)
LCHlch(81.5 13.1 303.7)
OKLCHoklch(0.844 0.034 300.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green78.0%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta10.8%
Yellow0.0%
Key (black)12.5%

Color previews

#cfc7df text on a black background

contrast 12.89:1

Card sample

#cfc7df text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc7df in the Color Lab