Skip to content

#c56df0

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

RGB
197, 109, 240
HSL
280°, 81%, 68%
CMYK
18, 55, 0, 6
Luminance
0.2910

Every format

HEX#c56df0
RGBrgb(197, 109, 240)
HSLhsl(280, 81%, 68%)
CMYKcmyk(18%, 55%, 0%, 6%)
LABlab(60.9 56.1 -52.1)
LCHlch(60.9 76.6 317.1)
OKLCHoklch(0.686 0.201 313.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c56df0 on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#c56df0 on black: 6.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green42.7%
Blue94.1%

CMYK percentages

Cyan17.9%
Magenta54.6%
Yellow0.0%
Key (black)5.9%

Color previews

#c56df0 text on a black background

contrast 6.82:1

Card sample

#c56df0 text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(197, 109, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 109, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c56df0;
background: linear-gradient(135deg, #c56df0, #F06DC4);

Monochromatic scale

Palettes built from #c56df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c56df0 in the Color Lab