Skip to content

#ccc0df

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

RGB
204, 192, 223
HSL
263°, 33%, 81%
CMYK
9, 14, 0, 13
Luminance
0.5586

Every format

HEX#ccc0df
RGBrgb(204, 192, 223)
HSLhsl(263, 33%, 81%)
CMYKcmyk(9%, 14%, 0%, 13%)
LABlab(79.5 10.0 -13.9)
LCHlch(79.5 17.1 305.8)
OKLCHoklch(0.827 0.045 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc0df on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#ccc0df on black: 12.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.3%
Blue87.5%

CMYK percentages

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

Color previews

#ccc0df text on a black background

contrast 12.17:1

Card sample

#ccc0df text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc0df in the Color Lab