Skip to content

#c95df9

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

RGB
201, 93, 249
HSL
282°, 93%, 67%
CMYK
19, 63, 0, 2
Luminance
0.2709

Every format

HEX#c95df9
RGBrgb(201, 93, 249)
HSLhsl(282, 93%, 67%)
CMYKcmyk(19%, 63%, 0%, 2%)
LABlab(59.0 66.5 -60.0)
LCHlch(59.0 89.5 317.9)
OKLCHoklch(0.676 0.234 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c95df9 on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#c95df9 on black: 6.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green36.5%
Blue97.6%

CMYK percentages

Cyan19.3%
Magenta62.7%
Yellow0.0%
Key (black)2.4%

Color previews

#c95df9 text on a black background

contrast 6.42:1

Card sample

#c95df9 text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c95df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c95df9 in the Color Lab