Skip to content

#cfc1df

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

RGB
207, 193, 223
HSL
268°, 32%, 82%
CMYK
7, 14, 0, 13
Luminance
0.5673

Every format

HEX#cfc1df
RGBrgb(207, 193, 223)
HSLhsl(268, 32%, 82%)
CMYKcmyk(7%, 14%, 0%, 13%)
LABlab(80.0 10.5 -13.2)
LCHlch(80.0 16.8 308.5)
OKLCHoklch(0.832 0.044 306.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc1df on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#cfc1df on black: 12.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green75.7%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta13.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cfc1df text on a black background

contrast 12.35:1

Card sample

#cfc1df text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc1df in the Color Lab