Skip to content

#c201ff

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

RGB
194, 1, 255
HSL
286°, 100%, 50%
CMYK
24, 100, 0, 0
Luminance
0.1871

Every format

HEX#c201ff
RGBrgb(194, 1, 255)
HSLhsl(286, 100%, 50%)
CMYKcmyk(24%, 100%, 0%, 0%)
LABlab(50.4 89.7 -77.4)
LCHlch(50.4 118.5 319.2)
OKLCHoklch(0.614 0.304 313.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c201ff on white: 4.43:1
AA ✗ fail · AA-large · AAA
Aa
#c201ff on black: 4.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green0.4%
Blue100.0%

CMYK percentages

Cyan23.9%
Magenta99.6%
Yellow0.0%
Key (black)0.0%

Color previews

#c201ff text on a black background

contrast 4.74:1

Card sample

#c201ff text on a white background

contrast 4.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c201ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c201ff in the Color Lab