Skip to content

#c49ef1

a light, vivid violet · warm · closest name: plum

RGB
196, 158, 241
HSL
268°, 75%, 78%
CMYK
19, 34, 0, 6
Luminance
0.4254

Every format

HEX#c49ef1
RGBrgb(196, 158, 241)
HSLhsl(268, 75%, 78%)
CMYKcmyk(19%, 34%, 0%, 6%)
LABlab(71.2 29.9 -36.4)
LCHlch(71.2 47.1 309.4)
OKLCHoklch(0.764 0.122 304.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49ef1 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#c49ef1 on black: 9.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green62.0%
Blue94.5%

CMYK percentages

Cyan18.7%
Magenta34.4%
Yellow0.0%
Key (black)5.5%

Color previews

#c49ef1 text on a black background

contrast 9.51:1

Card sample

#c49ef1 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c49ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49ef1 in the Color Lab