Skip to content

#bad7fd

a pale, electric blue · cool · closest name: lavender

RGB
186, 215, 253
HSL
214°, 94%, 86%
CMYK
27, 15, 0, 1
Luminance
0.6613

Every format

HEX#bad7fd
RGBrgb(186, 215, 253)
HSLhsl(214, 94%, 86%)
CMYKcmyk(27%, 15%, 0%, 1%)
LABlab(85.1 -1.3 -21.7)
LCHlch(85.1 21.7 266.5)
OKLCHoklch(0.871 0.061 255.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bad7fd on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#bad7fd on black: 14.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green84.3%
Blue99.2%

CMYK percentages

Cyan26.5%
Magenta15.0%
Yellow0.0%
Key (black)0.8%

Color previews

#bad7fd text on a black background

contrast 14.23:1

Card sample

#bad7fd text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bad7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bad7fd in the Color Lab