Skip to content

#f09af8

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

RGB
240, 154, 248
HSL
295°, 87%, 79%
CMYK
3, 38, 0, 3
Luminance
0.4841

Every format

HEX#f09af8
RGBrgb(240, 154, 248)
HSLhsl(295, 87%, 79%)
CMYKcmyk(3%, 38%, 0%, 3%)
LABlab(75.1 46.6 -33.9)
LCHlch(75.1 57.6 324.0)
OKLCHoklch(0.804 0.157 323.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f09af8 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#f09af8 on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green60.4%
Blue97.3%

CMYK percentages

Cyan3.2%
Magenta37.9%
Yellow0.0%
Key (black)2.7%

Color previews

#f09af8 text on a black background

contrast 10.68:1

Card sample

#f09af8 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f09af8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f09af8 in the Color Lab