Skip to content

#c39fd4

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

RGB
195, 159, 212
HSL
281°, 38%, 73%
CMYK
8, 25, 0, 17
Luminance
0.4115

Every format

HEX#c39fd4
RGBrgb(195, 159, 212)
HSLhsl(281, 38%, 73%)
CMYKcmyk(8%, 25%, 0%, 17%)
LABlab(70.3 22.9 -22.0)
LCHlch(70.3 31.7 316.1)
OKLCHoklch(0.753 0.084 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.5%
Green62.4%
Blue83.1%

CMYK percentages

Cyan8.0%
Magenta25.0%
Yellow0.0%
Key (black)16.9%

Color previews

#c39fd4 text on a black background

contrast 9.23:1

Card sample

#c39fd4 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c39fd4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c39fd4 in the Color Lab