Skip to content

#c2cef6

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

RGB
194, 206, 246
HSL
226°, 74%, 86%
CMYK
21, 16, 0, 4
Luminance
0.6227

Every format

HEX#c2cef6
RGBrgb(194, 206, 246)
HSLhsl(226, 74%, 86%)
CMYKcmyk(21%, 16%, 0%, 4%)
LABlab(83.0 4.2 -21.0)
LCHlch(83.0 21.4 281.3)
OKLCHoklch(0.855 0.057 272.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2cef6 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#c2cef6 on black: 13.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.8%
Blue96.5%

CMYK percentages

Cyan21.1%
Magenta16.3%
Yellow0.0%
Key (black)3.5%

Color previews

#c2cef6 text on a black background

contrast 13.45:1

Card sample

#c2cef6 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cef6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cef6 in the Color Lab