Skip to content

#fff2ff

a pale, electric magenta / pink · warm · closest name: lavender

RGB
255, 242, 255
HSL
300°, 100%, 98%
CMYK
0, 5, 0, 0
Luminance
0.9198

Every format

HEX#fff2ff
RGBrgb(255, 242, 255)
HSLhsl(300, 100%, 98%)
CMYKcmyk(0%, 5%, 0%, 0%)
LABlab(96.8 6.6 -4.7)
LCHlch(96.8 8.1 324.7)
OKLCHoklch(0.975 0.022 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff2ff on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fff2ff on black: 19.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.9%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow0.0%
Key (black)0.0%

Color previews

#fff2ff text on a black background

contrast 19.40:1

Card sample

#fff2ff text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2ff in the Color Lab