Skip to content

#f09df9

a light, electric magenta / pink · warm · closest name: violet

RGB
240, 157, 249
HSL
294°, 89%, 80%
CMYK
4, 37, 0, 2
Luminance
0.4948

Every format

HEX#f09df9
RGBrgb(240, 157, 249)
HSLhsl(294, 89%, 80%)
CMYKcmyk(4%, 37%, 0%, 2%)
LABlab(75.8 45.2 -33.4)
LCHlch(75.8 56.2 323.6)
OKLCHoklch(0.809 0.153 323.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f09df9 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#f09df9 on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green61.6%
Blue97.6%

CMYK percentages

Cyan3.6%
Magenta36.9%
Yellow0.0%
Key (black)2.4%

Color previews

#f09df9 text on a black background

contrast 10.90:1

Card sample

#f09df9 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f09df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f09df9 in the Color Lab