Skip to content

#f0bdfb

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

RGB
240, 189, 251
HSL
289°, 89%, 86%
CMYK
4, 25, 0, 2
Luminance
0.6189

Every format

HEX#f0bdfb
RGBrgb(240, 189, 251)
HSLhsl(289, 89%, 86%)
CMYKcmyk(4%, 25%, 0%, 2%)
LABlab(82.8 28.7 -23.6)
LCHlch(82.8 37.2 320.6)
OKLCHoklch(0.863 0.100 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0bdfb on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#f0bdfb on black: 13.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green74.1%
Blue98.4%

CMYK percentages

Cyan4.4%
Magenta24.7%
Yellow0.0%
Key (black)1.6%

Color previews

#f0bdfb text on a black background

contrast 13.38:1

Card sample

#f0bdfb text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bdfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bdfb in the Color Lab