Skip to content

#c95df0

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

RGB
201, 93, 240
HSL
284°, 83%, 65%
CMYK
16, 61, 0, 6
Luminance
0.2654

Every format

HEX#c95df0
RGBrgb(201, 93, 240)
HSLhsl(284, 83%, 65%)
CMYKcmyk(16%, 61%, 0%, 6%)
LABlab(58.5 64.7 -55.8)
LCHlch(58.5 85.4 319.2)
OKLCHoklch(0.670 0.225 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c95df0 on white: 3.33:1
AA ✗ fail · AA-large · AAA
Aa
#c95df0 on black: 6.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green36.5%
Blue94.1%

CMYK percentages

Cyan16.3%
Magenta61.2%
Yellow0.0%
Key (black)5.9%

Color previews

#c95df0 text on a black background

contrast 6.31:1

Card sample

#c95df0 text on a white background

contrast 3.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c95df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c95df0 in the Color Lab