Skip to content

#c49dfb

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

RGB
196, 157, 251
HSL
265°, 92%, 80%
CMYK
22, 38, 0, 2
Luminance
0.4281

Every format

HEX#c49dfb
RGBrgb(196, 157, 251)
HSLhsl(265, 92%, 80%)
CMYKcmyk(22%, 38%, 0%, 2%)
LABlab(71.4 32.7 -41.5)
LCHlch(71.4 52.9 308.2)
OKLCHoklch(0.767 0.137 302.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49dfb on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#c49dfb on black: 9.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green61.6%
Blue98.4%

CMYK percentages

Cyan21.9%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#c49dfb text on a black background

contrast 9.56:1

Card sample

#c49dfb text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c49dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49dfb in the Color Lab