Skip to content

#f0bcfd

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

RGB
240, 188, 253
HSL
288°, 94%, 87%
CMYK
5, 26, 0, 1
Luminance
0.6158

Every format

HEX#f0bcfd
RGBrgb(240, 188, 253)
HSLhsl(288, 94%, 87%)
CMYKcmyk(5%, 26%, 0%, 1%)
LABlab(82.7 29.6 -24.9)
LCHlch(82.7 38.7 320.0)
OKLCHoklch(0.862 0.104 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0bcfd on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#f0bcfd on black: 13.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green73.7%
Blue99.2%

CMYK percentages

Cyan5.1%
Magenta25.7%
Yellow0.0%
Key (black)0.8%

Color previews

#f0bcfd text on a black background

contrast 13.32:1

Card sample

#f0bcfd text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0bcfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0bcfd in the Color Lab