Skip to content

#ccc2da

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

RGB
204, 194, 218
HSL
265°, 25%, 81%
CMYK
6, 11, 0, 15
Luminance
0.5648

Every format

HEX#ccc2da
RGBrgb(204, 194, 218)
HSLhsl(265, 25%, 81%)
CMYKcmyk(6%, 11%, 0%, 15%)
LABlab(79.9 8.0 -10.7)
LCHlch(79.9 13.3 306.7)
OKLCHoklch(0.830 0.035 304.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.1%
Blue85.5%

CMYK percentages

Cyan6.4%
Magenta11.0%
Yellow0.0%
Key (black)14.5%

Color previews

#ccc2da text on a black background

contrast 12.30:1

Card sample

#ccc2da text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2da in the Color Lab