Skip to content

#ccc5df

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

RGB
204, 197, 223
HSL
256°, 29%, 82%
CMYK
9, 12, 0, 13
Luminance
0.5810

Every format

HEX#ccc5df
RGBrgb(204, 197, 223)
HSLhsl(256, 29%, 82%)
CMYKcmyk(9%, 12%, 0%, 13%)
LABlab(80.8 7.3 -12.0)
LCHlch(80.8 14.1 301.4)
OKLCHoklch(0.837 0.037 297.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc5df on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ccc5df on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green77.3%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta11.7%
Yellow0.0%
Key (black)12.5%

Color previews

#ccc5df text on a black background

contrast 12.62:1

Card sample

#ccc5df text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc5df in the Color Lab