Skip to content

#ccc2e4

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

RGB
204, 194, 228
HSL
258°, 39%, 83%
CMYK
11, 15, 0, 11
Luminance
0.5702

Every format

HEX#ccc2e4
RGBrgb(204, 194, 228)
HSLhsl(258, 39%, 83%)
CMYKcmyk(11%, 15%, 0%, 11%)
LABlab(80.2 9.9 -15.6)
LCHlch(80.2 18.5 302.5)
OKLCHoklch(0.833 0.048 298.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc2e4 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ccc2e4 on black: 12.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.1%
Blue89.4%

CMYK percentages

Cyan10.5%
Magenta14.9%
Yellow0.0%
Key (black)10.6%

Color previews

#ccc2e4 text on a black background

contrast 12.40:1

Card sample

#ccc2e4 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2e4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2e4 in the Color Lab