Skip to content

#cfc0df

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

RGB
207, 192, 223
HSL
269°, 33%, 81%
CMYK
7, 14, 0, 13
Luminance
0.5629

Every format

HEX#cfc0df
RGBrgb(207, 192, 223)
HSLhsl(269, 33%, 81%)
CMYKcmyk(7%, 14%, 0%, 13%)
LABlab(79.8 11.0 -13.5)
LCHlch(79.8 17.4 309.2)
OKLCHoklch(0.830 0.046 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc0df on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cfc0df on black: 12.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green75.3%
Blue87.5%

CMYK percentages

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

Color previews

#cfc0df text on a black background

contrast 12.26:1

Card sample

#cfc0df text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc0df in the Color Lab