Skip to content

#f7f0fa

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

RGB
247, 240, 250
HSL
282°, 50%, 96%
CMYK
1, 4, 0, 2
Luminance
0.8900

Every format

HEX#f7f0fa
RGBrgb(247, 240, 250)
HSLhsl(282, 50%, 96%)
CMYKcmyk(1%, 4%, 0%, 2%)
LABlab(95.6 4.1 -4.0)
LCHlch(95.6 5.7 315.9)
OKLCHoklch(0.963 0.015 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7f0fa on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f7f0fa on black: 18.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green94.1%
Blue98.0%

CMYK percentages

Cyan1.2%
Magenta4.0%
Yellow0.0%
Key (black)2.0%

Color previews

#f7f0fa text on a black background

contrast 18.80:1

Card sample

#f7f0fa text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7f0fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7f0fa in the Color Lab