Skip to content

#c95df8

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

RGB
201, 93, 248
HSL
282°, 92%, 67%
CMYK
19, 63, 0, 3
Luminance
0.2702

Every format

HEX#c95df8
RGBrgb(201, 93, 248)
HSLhsl(282, 92%, 67%)
CMYKcmyk(19%, 63%, 0%, 3%)
LABlab(59.0 66.3 -59.5)
LCHlch(59.0 89.1 318.1)
OKLCHoklch(0.675 0.233 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c95df8 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#c95df8 on black: 6.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green36.5%
Blue97.3%

CMYK percentages

Cyan19.0%
Magenta62.5%
Yellow0.0%
Key (black)2.7%

Color previews

#c95df8 text on a black background

contrast 6.40:1

Card sample

#c95df8 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c95df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c95df8 in the Color Lab