Skip to content

#f082ff

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

RGB
240, 130, 255
HSL
293°, 100%, 76%
CMYK
6, 49, 0, 0
Luminance
0.4171

Every format

HEX#f082ff
RGBrgb(240, 130, 255)
HSLhsl(293, 100%, 76%)
CMYKcmyk(6%, 49%, 0%, 0%)
LABlab(70.7 60.0 -44.6)
LCHlch(70.7 74.7 323.4)
OKLCHoklch(0.772 0.203 322.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f082ff on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#f082ff on black: 9.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green51.0%
Blue100.0%

CMYK percentages

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

Color previews

#f082ff text on a black background

contrast 9.34:1

Card sample

#f082ff text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f082ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f082ff in the Color Lab