Skip to content

#c96dfd

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

RGB
201, 109, 253
HSL
278°, 97%, 71%
CMYK
21, 57, 0, 1
Luminance
0.3045

Every format

HEX#c96dfd
RGBrgb(201, 109, 253)
HSLhsl(278, 97%, 71%)
CMYKcmyk(21%, 57%, 0%, 1%)
LABlab(62.0 59.8 -57.4)
LCHlch(62.0 82.9 316.2)
OKLCHoklch(0.698 0.215 311.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c96dfd on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#c96dfd on black: 7.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green42.7%
Blue99.2%

CMYK percentages

Cyan20.6%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#c96dfd text on a black background

contrast 7.09:1

Card sample

#c96dfd text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c96dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c96dfd in the Color Lab