Skip to content

#c80afd

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

RGB
200, 10, 253
HSL
287°, 98%, 52%
CMYK
21, 96, 0, 1
Luminance
0.1959

Every format

HEX#c80afd
RGBrgb(200, 10, 253)
HSLhsl(287, 98%, 52%)
CMYKcmyk(21%, 96%, 0%, 1%)
LABlab(51.4 89.4 -74.6)
LCHlch(51.4 116.5 320.1)
OKLCHoklch(0.622 0.302 315.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c80afd on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#c80afd on black: 4.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green3.9%
Blue99.2%

CMYK percentages

Cyan20.9%
Magenta96.0%
Yellow0.0%
Key (black)0.8%

Color previews

#c80afd text on a black background

contrast 4.92:1

Card sample

#c80afd text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c80afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c80afd in the Color Lab