Skip to content

#c16dfd

a light, electric violet · warm · closest name: violet

RGB
193, 109, 253
HSL
275°, 97%, 71%
CMYK
24, 57, 0, 1
Luminance
0.2937

Every format

HEX#c16dfd
RGBrgb(193, 109, 253)
HSLhsl(275, 97%, 71%)
CMYKcmyk(24%, 57%, 0%, 1%)
LABlab(61.1 57.9 -59.0)
LCHlch(61.1 82.6 314.5)
OKLCHoklch(0.689 0.213 308.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c16dfd on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#c16dfd on black: 6.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.7%
Green42.7%
Blue99.2%

CMYK percentages

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

Color previews

#c16dfd text on a black background

contrast 6.87:1

Card sample

#c16dfd text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c16dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c16dfd in the Color Lab