Skip to content

#c39dfd

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

RGB
195, 157, 253
HSL
264°, 96%, 80%
CMYK
23, 38, 0, 1
Luminance
0.4281

Every format

HEX#c39dfd
RGBrgb(195, 157, 253)
HSLhsl(264, 96%, 80%)
CMYKcmyk(23%, 38%, 0%, 1%)
LABlab(71.4 32.9 -42.6)
LCHlch(71.4 53.8 307.6)
OKLCHoklch(0.767 0.139 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.5%
Green61.6%
Blue99.2%

CMYK percentages

Cyan22.9%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#c39dfd text on a black background

contrast 9.56:1

Card sample

#c39dfd text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c39dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c39dfd in the Color Lab