Skip to content

#c80dfb

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

RGB
200, 13, 251
HSL
287°, 97%, 52%
CMYK
20, 95, 0, 2
Luminance
0.1953

Every format

HEX#c80dfb
RGBrgb(200, 13, 251)
HSLhsl(287, 97%, 52%)
CMYKcmyk(20%, 95%, 0%, 2%)
LABlab(51.3 88.8 -73.6)
LCHlch(51.3 115.4 320.3)
OKLCHoklch(0.621 0.300 316.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c80dfb on white: 4.28:1
AA ✗ fail · AA-large · AAA
Aa
#c80dfb on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green5.1%
Blue98.4%

CMYK percentages

Cyan20.3%
Magenta94.8%
Yellow0.0%
Key (black)1.6%

Color previews

#c80dfb text on a black background

contrast 4.91:1

Card sample

#c80dfb text on a white background

contrast 4.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(200, 13, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 13, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c80dfb;
background: linear-gradient(135deg, #c80dfb, #FB0D90);

Monochromatic scale

Palettes built from #c80dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c80dfb in the Color Lab