Skip to content

#f080ff

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

RGB
240, 128, 255
HSL
293°, 100%, 75%
CMYK
6, 50, 0, 0
Luminance
0.4118

Every format

HEX#f080ff
RGBrgb(240, 128, 255)
HSLhsl(293, 100%, 75%)
CMYKcmyk(6%, 50%, 0%, 0%)
LABlab(70.3 60.9 -45.1)
LCHlch(70.3 75.8 323.5)
OKLCHoklch(0.769 0.206 322.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f080ff on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#f080ff on black: 9.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green50.2%
Blue100.0%

CMYK percentages

Cyan5.9%
Magenta49.8%
Yellow0.0%
Key (black)0.0%

Color previews

#f080ff text on a black background

contrast 9.24:1

Card sample

#f080ff text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f080ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f080ff in the Color Lab