Skip to content

#c391df

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

RGB
195, 145, 223
HSL
279°, 55%, 72%
CMYK
13, 35, 0, 13
Luminance
0.3718

Every format

HEX#c391df
RGBrgb(195, 145, 223)
HSLhsl(279, 55%, 72%)
CMYKcmyk(13%, 35%, 0%, 13%)
LABlab(67.4 32.9 -32.5)
LCHlch(67.4 46.2 315.4)
OKLCHoklch(0.732 0.122 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c391df on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#c391df on black: 8.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green56.9%
Blue87.5%

CMYK percentages

Cyan12.6%
Magenta35.0%
Yellow0.0%
Key (black)12.5%

Color previews

#c391df text on a black background

contrast 8.44:1

Card sample

#c391df text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c391df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c391df in the Color Lab