Skip to content

#f5d5ff

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

RGB
245, 213, 255
HSL
286°, 100%, 92%
CMYK
4, 17, 0, 0
Luminance
0.7422

Every format

HEX#f5d5ff
RGBrgb(245, 213, 255)
HSLhsl(286, 100%, 92%)
CMYKcmyk(4%, 17%, 0%, 0%)
LABlab(89.0 18.4 -16.3)
LCHlch(89.0 24.6 318.4)
OKLCHoklch(0.912 0.066 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5d5ff on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#f5d5ff on black: 15.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green83.5%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta16.5%
Yellow0.0%
Key (black)0.0%

Color previews

#f5d5ff text on a black background

contrast 15.84:1

Card sample

#f5d5ff text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5d5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5d5ff in the Color Lab