Skip to content

#f5ebff

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

RGB
245, 235, 255
HSL
270°, 100%, 96%
CMYK
4, 8, 0, 0
Luminance
0.8605

Every format

HEX#f5ebff
RGBrgb(245, 235, 255)
HSLhsl(270, 100%, 96%)
CMYKcmyk(4%, 8%, 0%, 0%)
LABlab(94.3 6.9 -8.4)
LCHlch(94.3 10.9 309.4)
OKLCHoklch(0.954 0.029 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5ebff on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f5ebff on black: 18.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green92.2%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta7.8%
Yellow0.0%
Key (black)0.0%

Color previews

#f5ebff text on a black background

contrast 18.21:1

Card sample

#f5ebff text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5ebff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5ebff in the Color Lab