Skip to content

#f2d0ff

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

RGB
242, 208, 255
HSL
283°, 100%, 91%
CMYK
5, 18, 0, 0
Luminance
0.7121

Every format

HEX#f2d0ff
RGBrgb(242, 208, 255)
HSLhsl(283, 100%, 91%)
CMYKcmyk(5%, 18%, 0%, 0%)
LABlab(87.6 20.1 -18.5)
LCHlch(87.6 27.3 317.3)
OKLCHoklch(0.901 0.073 316.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2d0ff on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#f2d0ff on black: 15.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green81.6%
Blue100.0%

CMYK percentages

Cyan5.1%
Magenta18.4%
Yellow0.0%
Key (black)0.0%

Color previews

#f2d0ff text on a black background

contrast 15.24:1

Card sample

#f2d0ff text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d0ff in the Color Lab