Skip to content

#cec2f3

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

RGB
206, 194, 243
HSL
255°, 67%, 86%
CMYK
15, 20, 0, 5
Luminance
0.5818

Every format

HEX#cec2f3
RGBrgb(206, 194, 243)
HSLhsl(255, 67%, 86%)
CMYKcmyk(15%, 20%, 0%, 5%)
LABlab(80.8 13.7 -22.7)
LCHlch(80.8 26.5 301.2)
OKLCHoklch(0.840 0.069 296.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec2f3 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cec2f3 on black: 12.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.1%
Blue95.3%

CMYK percentages

Cyan15.2%
Magenta20.2%
Yellow0.0%
Key (black)4.7%

Color previews

#cec2f3 text on a black background

contrast 12.64:1

Card sample

#cec2f3 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec2f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec2f3 in the Color Lab