Skip to content

#c50ef1

a balanced, electric violet · warm · closest name: magenta

RGB
197, 14, 241
HSL
288°, 89%, 50%
CMYK
18, 94, 0, 6
Luminance
0.1854

Every format

HEX#c50ef1
RGBrgb(197, 14, 241)
HSLhsl(288, 89%, 50%)
CMYKcmyk(18%, 94%, 0%, 6%)
LABlab(50.1 86.6 -69.9)
LCHlch(50.1 111.3 321.1)
OKLCHoklch(0.610 0.292 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c50ef1 on white: 4.46:1
AA ✗ fail · AA-large · AAA
Aa
#c50ef1 on black: 4.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green5.5%
Blue94.5%

CMYK percentages

Cyan18.3%
Magenta94.2%
Yellow0.0%
Key (black)5.5%

Color previews

#c50ef1 text on a black background

contrast 4.71:1

Card sample

#c50ef1 text on a white background

contrast 4.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(197, 14, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 14, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c50ef1;
background: linear-gradient(135deg, #c50ef1, #F10E86);

Monochromatic scale

Palettes built from #c50ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c50ef1 in the Color Lab