Skip to content

#c39fd1

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

RGB
195, 159, 209
HSL
283°, 35%, 72%
CMYK
7, 24, 0, 18
Luminance
0.4100

Every format

HEX#c39fd1
RGBrgb(195, 159, 209)
HSLhsl(283, 35%, 72%)
CMYKcmyk(7%, 24%, 0%, 18%)
LABlab(70.2 22.3 -20.5)
LCHlch(70.2 30.3 317.4)
OKLCHoklch(0.752 0.081 316.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c39fd1 on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#c39fd1 on black: 9.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green62.4%
Blue82.0%

CMYK percentages

Cyan6.7%
Magenta23.9%
Yellow0.0%
Key (black)18.0%

Color previews

#c39fd1 text on a black background

contrast 9.20:1

Card sample

#c39fd1 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c39fd1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c39fd1 in the Color Lab