Skip to content

#f657ff

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

RGB
246, 87, 255
HSL
297°, 100%, 67%
CMYK
4, 66, 0, 0
Luminance
0.3363

Every format

HEX#f657ff
RGBrgb(246, 87, 255)
HSLhsl(297, 100%, 67%)
CMYKcmyk(4%, 66%, 0%, 0%)
LABlab(64.7 79.9 -54.0)
LCHlch(64.7 96.4 326.0)
OKLCHoklch(0.730 0.265 325.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f657ff on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#f657ff on black: 7.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green34.1%
Blue100.0%

CMYK percentages

Cyan3.5%
Magenta65.9%
Yellow0.0%
Key (black)0.0%

Color previews

#f657ff text on a black background

contrast 7.73:1

Card sample

#f657ff text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f657ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f657ff in the Color Lab