Skip to content

#c95dfd

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

RGB
201, 93, 253
HSL
281°, 98%, 68%
CMYK
21, 63, 0, 1
Luminance
0.2734

Every format

HEX#c95dfd
RGBrgb(201, 93, 253)
HSLhsl(281, 98%, 68%)
CMYKcmyk(21%, 63%, 0%, 1%)
LABlab(59.3 67.3 -61.8)
LCHlch(59.3 91.4 317.4)
OKLCHoklch(0.678 0.237 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c95dfd on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#c95dfd on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green36.5%
Blue99.2%

CMYK percentages

Cyan20.6%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#c95dfd text on a black background

contrast 6.47:1

Card sample

#c95dfd text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c95dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c95dfd in the Color Lab