Skip to content

#cfc5df

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

RGB
207, 197, 223
HSL
263°, 29%, 82%
CMYK
7, 12, 0, 13
Luminance
0.5853

Every format

HEX#cfc5df
RGBrgb(207, 197, 223)
HSLhsl(263, 29%, 82%)
CMYKcmyk(7%, 12%, 0%, 13%)
LABlab(81.0 8.3 -11.7)
LCHlch(81.0 14.3 305.6)
OKLCHoklch(0.840 0.037 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc5df on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cfc5df on black: 12.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green77.3%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta11.7%
Yellow0.0%
Key (black)12.5%

Color previews

#cfc5df text on a black background

contrast 12.71:1

Card sample

#cfc5df text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc5df in the Color Lab