Skip to content

#ccc9f3

a pale, vivid blue · warm · closest name: lavender

RGB
204, 201, 243
HSL
244°, 64%, 87%
CMYK
16, 17, 0, 5
Luminance
0.6108

Every format

HEX#ccc9f3
RGBrgb(204, 201, 243)
HSLhsl(244, 64%, 87%)
CMYKcmyk(16%, 17%, 0%, 5%)
LABlab(82.4 9.3 -20.3)
LCHlch(82.4 22.3 294.7)
OKLCHoklch(0.852 0.058 288.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc9f3 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ccc9f3 on black: 13.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue95.3%

CMYK percentages

Cyan16.0%
Magenta17.3%
Yellow0.0%
Key (black)4.7%

Color previews

#ccc9f3 text on a black background

contrast 13.22:1

Card sample

#ccc9f3 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9f3 in the Color Lab