Skip to content

#ccc1df

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

RGB
204, 193, 223
HSL
262°, 32%, 82%
CMYK
9, 14, 0, 13
Luminance
0.5631

Every format

HEX#ccc1df
RGBrgb(204, 193, 223)
HSLhsl(262, 32%, 82%)
CMYKcmyk(9%, 14%, 0%, 13%)
LABlab(79.8 9.5 -13.5)
LCHlch(79.8 16.5 305.0)
OKLCHoklch(0.829 0.043 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green75.7%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta13.5%
Yellow0.0%
Key (black)12.5%

Color previews

#ccc1df text on a black background

contrast 12.26:1

Card sample

#ccc1df text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc1df in the Color Lab