Skip to content

#eb52ff

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

RGB
235, 82, 255
HSL
293°, 100%, 66%
CMYK
8, 68, 0, 0
Luminance
0.3092

Every format

HEX#eb52ff
RGBrgb(235, 82, 255)
HSLhsl(293, 100%, 66%)
CMYKcmyk(8%, 68%, 0%, 0%)
LABlab(62.4 79.4 -57.6)
LCHlch(62.4 98.1 324.0)
OKLCHoklch(0.711 0.266 322.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb52ff on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#eb52ff on black: 7.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green32.2%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta67.8%
Yellow0.0%
Key (black)0.0%

Color previews

#eb52ff text on a black background

contrast 7.18:1

Card sample

#eb52ff text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb52ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb52ff in the Color Lab