Skip to content

#cec8db

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

RGB
206, 200, 219
HSL
259°, 21%, 82%
CMYK
6, 9, 0, 14
Luminance
0.5954

Every format

HEX#cec8db
RGBrgb(206, 200, 219)
HSLhsl(259, 21%, 82%)
CMYKcmyk(6%, 9%, 0%, 14%)
LABlab(81.6 5.6 -8.7)
LCHlch(81.6 10.3 302.9)
OKLCHoklch(0.843 0.027 300.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec8db on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cec8db on black: 12.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green78.4%
Blue85.9%

CMYK percentages

Cyan5.9%
Magenta8.7%
Yellow0.0%
Key (black)14.1%

Color previews

#cec8db text on a black background

contrast 12.91:1

Card sample

#cec8db text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec8db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec8db in the Color Lab