Skip to content

#f3e7ff

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

RGB
243, 231, 255
HSL
270°, 100%, 95%
CMYK
5, 9, 0, 0
Luminance
0.8343

Every format

HEX#f3e7ff
RGBrgb(243, 231, 255)
HSLhsl(270, 100%, 95%)
CMYKcmyk(5%, 9%, 0%, 0%)
LABlab(93.2 8.3 -10.1)
LCHlch(93.2 13.1 309.5)
OKLCHoklch(0.945 0.034 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3e7ff on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#f3e7ff on black: 17.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green90.6%
Blue100.0%

CMYK percentages

Cyan4.7%
Magenta9.4%
Yellow0.0%
Key (black)0.0%

Color previews

#f3e7ff text on a black background

contrast 17.69:1

Card sample

#f3e7ff text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3e7ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3e7ff in the Color Lab