Skip to content

#ceccf5

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

RGB
206, 204, 245
HSL
243°, 67%, 88%
CMYK
16, 17, 0, 4
Luminance
0.6290

Every format

HEX#ceccf5
RGBrgb(206, 204, 245)
HSLhsl(243, 67%, 88%)
CMYKcmyk(16%, 17%, 0%, 4%)
LABlab(83.4 8.8 -19.9)
LCHlch(83.4 21.7 293.8)
OKLCHoklch(0.860 0.057 287.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceccf5 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#ceccf5 on black: 13.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green80.0%
Blue96.1%

CMYK percentages

Cyan15.9%
Magenta16.7%
Yellow0.0%
Key (black)3.9%

Color previews

#ceccf5 text on a black background

contrast 13.58:1

Card sample

#ceccf5 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceccf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceccf5 in the Color Lab