Skip to content

#ccc4df

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

RGB
204, 196, 223
HSL
258°, 30%, 82%
CMYK
9, 12, 0, 13
Luminance
0.5764

Every format

HEX#ccc4df
RGBrgb(204, 196, 223)
HSLhsl(258, 30%, 82%)
CMYKcmyk(9%, 12%, 0%, 13%)
LABlab(80.5 7.9 -12.4)
LCHlch(80.5 14.7 302.4)
OKLCHoklch(0.835 0.038 299.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.9%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta12.1%
Yellow0.0%
Key (black)12.5%

Color previews

#ccc4df text on a black background

contrast 12.53:1

Card sample

#ccc4df text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc4df in the Color Lab