Skip to content

#c95dfb

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

RGB
201, 93, 251
HSL
281°, 95%, 68%
CMYK
20, 63, 0, 2
Luminance
0.2721

Every format

HEX#c95dfb
RGBrgb(201, 93, 251)
HSLhsl(281, 95%, 68%)
CMYKcmyk(20%, 63%, 0%, 2%)
LABlab(59.2 66.9 -60.9)
LCHlch(59.2 90.5 317.7)
OKLCHoklch(0.677 0.236 313.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c95dfb on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#c95dfb on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green36.5%
Blue98.4%

CMYK percentages

Cyan19.9%
Magenta62.9%
Yellow0.0%
Key (black)1.6%

Color previews

#c95dfb text on a black background

contrast 6.44:1

Card sample

#c95dfb text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c95dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c95dfb in the Color Lab