Skip to content

#c49af7

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

RGB
196, 154, 247
HSL
267°, 85%, 79%
CMYK
21, 38, 0, 3
Luminance
0.4156

Every format

HEX#c49af7
RGBrgb(196, 154, 247)
HSLhsl(267, 85%, 79%)
CMYKcmyk(21%, 38%, 0%, 3%)
LABlab(70.6 33.4 -40.7)
LCHlch(70.6 52.7 309.4)
OKLCHoklch(0.760 0.136 304.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49af7 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#c49af7 on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green60.4%
Blue96.9%

CMYK percentages

Cyan20.6%
Magenta37.7%
Yellow0.0%
Key (black)3.1%

Color previews

#c49af7 text on a black background

contrast 9.31:1

Card sample

#c49af7 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c49af7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49af7 in the Color Lab