Skip to content

#cec7f0

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

RGB
206, 199, 240
HSL
250°, 58%, 86%
CMYK
14, 17, 0, 6
Luminance
0.6026

Every format

HEX#cec7f0
RGBrgb(206, 199, 240)
HSLhsl(250, 58%, 86%)
CMYKcmyk(14%, 17%, 0%, 6%)
LABlab(82.0 10.4 -19.3)
LCHlch(82.0 21.9 298.2)
OKLCHoklch(0.849 0.057 293.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec7f0 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cec7f0 on black: 13.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green78.0%
Blue94.1%

CMYK percentages

Cyan14.2%
Magenta17.1%
Yellow0.0%
Key (black)5.9%

Color previews

#cec7f0 text on a black background

contrast 13.05:1

Card sample

#cec7f0 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec7f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec7f0 in the Color Lab