Skip to content

#c10dfd

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

RGB
193, 13, 253
HSL
285°, 98%, 52%
CMYK
24, 95, 0, 1
Luminance
0.1872

Every format

HEX#c10dfd
RGBrgb(193, 13, 253)
HSLhsl(285, 98%, 52%)
CMYKcmyk(24%, 95%, 0%, 1%)
LABlab(50.4 88.3 -76.3)
LCHlch(50.4 116.7 319.1)
OKLCHoklch(0.613 0.300 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red75.7%
Green5.1%
Blue99.2%

CMYK percentages

Cyan23.7%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#c10dfd text on a black background

contrast 4.74:1

Card sample

#c10dfd text on a white background

contrast 4.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c10dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c10dfd in the Color Lab