Skip to content

#c13df0

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

RGB
193, 61, 240
HSL
284°, 86%, 59%
CMYK
20, 75, 0, 6
Luminance
0.2097

Every format

HEX#c13df0
RGBrgb(193, 61, 240)
HSLhsl(284, 86%, 59%)
CMYKcmyk(20%, 75%, 0%, 6%)
LABlab(52.9 75.7 -64.9)
LCHlch(52.9 99.7 319.4)
OKLCHoklch(0.628 0.260 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c13df0 on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#c13df0 on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.7%
Green23.9%
Blue94.1%

CMYK percentages

Cyan19.6%
Magenta74.6%
Yellow0.0%
Key (black)5.9%

Color previews

#c13df0 text on a black background

contrast 5.19:1

Card sample

#c13df0 text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(193, 61, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 61, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c13df0;
background: linear-gradient(135deg, #c13df0, #F03DA8);

Monochromatic scale

Palettes built from #c13df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c13df0 in the Color Lab