Skip to content

#c596ff

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

RGB
197, 150, 255
HSL
267°, 100%, 79%
CMYK
23, 41, 0, 0
Luminance
0.4090

Every format

HEX#c596ff
RGBrgb(197, 150, 255)
HSLhsl(267, 100%, 79%)
CMYKcmyk(23%, 41%, 0%, 0%)
LABlab(70.1 37.7 -45.8)
LCHlch(70.1 59.3 309.5)
OKLCHoklch(0.757 0.153 303.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c596ff on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#c596ff on black: 9.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green58.8%
Blue100.0%

CMYK percentages

Cyan22.7%
Magenta41.2%
Yellow0.0%
Key (black)0.0%

Color previews

#c596ff text on a black background

contrast 9.18:1

Card sample

#c596ff text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c596ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c596ff in the Color Lab