Skip to content

#c39df7

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

RGB
195, 157, 247
HSL
265°, 85%, 79%
CMYK
21, 36, 0, 3
Luminance
0.4243

Every format

HEX#c39df7
RGBrgb(195, 157, 247)
HSLhsl(265, 85%, 79%)
CMYKcmyk(21%, 36%, 0%, 3%)
LABlab(71.2 31.5 -39.8)
LCHlch(71.2 50.8 308.4)
OKLCHoklch(0.764 0.131 302.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan21.1%
Magenta36.4%
Yellow0.0%
Key (black)3.1%

Color previews

#c39df7 text on a black background

contrast 9.49:1

Card sample

#c39df7 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c39df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c39df7 in the Color Lab