Skip to content

#cfc3df

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

RGB
207, 195, 223
HSL
266°, 30%, 82%
CMYK
7, 13, 0, 13
Luminance
0.5762

Every format

HEX#cfc3df
RGBrgb(207, 195, 223)
HSLhsl(266, 30%, 82%)
CMYKcmyk(7%, 13%, 0%, 13%)
LABlab(80.5 9.4 -12.4)
LCHlch(80.5 15.6 307.2)
OKLCHoklch(0.836 0.041 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green76.5%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta12.6%
Yellow0.0%
Key (black)12.5%

Color previews

#cfc3df text on a black background

contrast 12.52:1

Card sample

#cfc3df text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc3df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc3df in the Color Lab