Skip to content

#cc77ff

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

RGB
204, 119, 255
HSL
278°, 100%, 73%
CMYK
20, 53, 0, 0
Luminance
0.3325

Every format

HEX#cc77ff
RGBrgb(204, 119, 255)
HSLhsl(278, 100%, 73%)
CMYKcmyk(20%, 53%, 0%, 0%)
LABlab(64.4 56.0 -54.8)
LCHlch(64.4 78.3 315.6)
OKLCHoklch(0.716 0.204 311.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc77ff on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#cc77ff on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green46.7%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta53.3%
Yellow0.0%
Key (black)0.0%

Color previews

#cc77ff text on a black background

contrast 7.65:1

Card sample

#cc77ff text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc77ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc77ff in the Color Lab