Skip to content

#f7e2fe

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

RGB
247, 226, 254
HSL
285°, 93%, 94%
CMYK
3, 11, 0, 0
Luminance
0.8132

Every format

HEX#f7e2fe
RGBrgb(247, 226, 254)
HSLhsl(285, 93%, 94%)
CMYKcmyk(3%, 11%, 0%, 0%)
LABlab(92.3 12.1 -10.9)
LCHlch(92.3 16.3 317.8)
OKLCHoklch(0.938 0.043 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7e2fe on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#f7e2fe on black: 17.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green88.6%
Blue99.6%

CMYK percentages

Cyan2.8%
Magenta11.0%
Yellow0.0%
Key (black)0.4%

Color previews

#f7e2fe text on a black background

contrast 17.26:1

Card sample

#f7e2fe text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(247, 226, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 226, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7e2fe;
background: linear-gradient(135deg, #f7e2fe, #FEE2F2);

Monochromatic scale

Palettes built from #f7e2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7e2fe in the Color Lab