Skip to content

#f5dfff

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

RGB
245, 223, 255
HSL
281°, 100%, 94%
CMYK
4, 13, 0, 0
Luminance
0.7941

Every format

HEX#f5dfff
RGBrgb(245, 223, 255)
HSLhsl(281, 100%, 94%)
CMYKcmyk(4%, 13%, 0%, 0%)
LABlab(91.4 13.2 -12.8)
LCHlch(91.4 18.3 315.9)
OKLCHoklch(0.931 0.049 315.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5dfff on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#f5dfff on black: 16.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green87.5%
Blue100.0%

CMYK percentages

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

Color previews

#f5dfff text on a black background

contrast 16.88:1

Card sample

#f5dfff text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5dfff in the Color Lab