Skip to content

#f5dcff

a pale, electric violet · warm · closest name: lavender

RGB
245, 220, 255
HSL
283°, 100%, 93%
CMYK
4, 14, 0, 0
Luminance
0.7782

Every format

HEX#f5dcff
RGBrgb(245, 220, 255)
HSLhsl(283, 100%, 93%)
CMYKcmyk(4%, 14%, 0%, 0%)
LABlab(90.7 14.7 -13.8)
LCHlch(90.7 20.2 316.8)
OKLCHoklch(0.925 0.054 316.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5dcff on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f5dcff on black: 16.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green86.3%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta13.7%
Yellow0.0%
Key (black)0.0%

Color previews

#f5dcff text on a black background

contrast 16.56:1

Card sample

#f5dcff text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(245, 220, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 220, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f5dcff;
background: linear-gradient(135deg, #f5dcff, #FFDCF2);

Monochromatic scale

Palettes built from #f5dcff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5dcff in the Color Lab