Skip to content

#badfec

a light, vivid cyan · cool · closest name: lavender

RGB
186, 223, 236
HSL
196°, 57%, 83%
CMYK
21, 6, 0, 8
Luminance
0.6927

Every format

HEX#badfec
RGBrgb(186, 223, 236)
HSLhsl(196, 57%, 83%)
CMYKcmyk(21%, 6%, 0%, 8%)
LABlab(86.6 -9.3 -10.4)
LCHlch(86.6 13.9 228.1)
OKLCHoklch(0.881 0.043 221.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#badfec on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#badfec on black: 14.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green87.5%
Blue92.5%

CMYK percentages

Cyan21.2%
Magenta5.5%
Yellow0.0%
Key (black)7.5%

Color previews

#badfec text on a black background

contrast 14.85:1

Card sample

#badfec text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 223, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 223, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #badfec;
background: linear-gradient(135deg, #badfec, #BABEEC);

Monochromatic scale

Palettes built from #badfec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #badfec in the Color Lab