Skip to content

#c37ef1

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

RGB
195, 126, 241
HSL
276°, 80%, 72%
CMYK
19, 48, 0, 6
Luminance
0.3287

Every format

HEX#c37ef1
RGBrgb(195, 126, 241)
HSLhsl(276, 80%, 72%)
CMYKcmyk(19%, 48%, 0%, 6%)
LABlab(64.1 47.0 -47.6)
LCHlch(64.1 66.9 314.6)
OKLCHoklch(0.710 0.174 310.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c37ef1 on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#c37ef1 on black: 7.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green49.4%
Blue94.5%

CMYK percentages

Cyan19.1%
Magenta47.7%
Yellow0.0%
Key (black)5.5%

Color previews

#c37ef1 text on a black background

contrast 7.57:1

Card sample

#c37ef1 text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 126, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 126, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c37ef1;
background: linear-gradient(135deg, #c37ef1, #F17ED2);

Monochromatic scale

Palettes built from #c37ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c37ef1 in the Color Lab