Skip to content

#c49df7

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

RGB
196, 157, 247
HSL
266°, 85%, 79%
CMYK
21, 36, 0, 3
Luminance
0.4257

Every format

HEX#c49df7
RGBrgb(196, 157, 247)
HSLhsl(266, 85%, 79%)
CMYKcmyk(21%, 36%, 0%, 3%)
LABlab(71.3 31.8 -39.6)
LCHlch(71.3 50.8 308.7)
OKLCHoklch(0.765 0.132 303.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.9%
Green61.6%
Blue96.9%

CMYK percentages

Cyan20.6%
Magenta36.4%
Yellow0.0%
Key (black)3.1%

Color previews

#c49df7 text on a black background

contrast 9.51:1

Card sample

#c49df7 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c49df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49df7 in the Color Lab