Skip to content

#fbf0ff

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

RGB
251, 240, 255
HSL
284°, 100%, 97%
CMYK
2, 6, 0, 0
Luminance
0.9005

Every format

HEX#fbf0ff
RGBrgb(251, 240, 255)
HSLhsl(284, 100%, 97%)
CMYKcmyk(2%, 6%, 0%, 0%)
LABlab(96.0 6.3 -5.9)
LCHlch(96.0 8.6 317.0)
OKLCHoklch(0.968 0.023 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbf0ff on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fbf0ff on black: 19.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green94.1%
Blue100.0%

CMYK percentages

Cyan1.6%
Magenta5.9%
Yellow0.0%
Key (black)0.0%

Color previews

#fbf0ff text on a black background

contrast 19.01:1

Card sample

#fbf0ff text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf0ff in the Color Lab