Skip to content

#cc60eb

a balanced, electric violet · warm · closest name: orchid

RGB
204, 96, 235
HSL
287°, 78%, 65%
CMYK
13, 59, 0, 8
Luminance
0.2720

Every format

HEX#cc60eb
RGBrgb(204, 96, 235)
HSLhsl(287, 78%, 65%)
CMYKcmyk(13%, 59%, 0%, 8%)
LABlab(59.2 63.0 -52.0)
LCHlch(59.2 81.7 320.5)
OKLCHoklch(0.675 0.217 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc60eb on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#cc60eb on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green37.6%
Blue92.2%

CMYK percentages

Cyan13.2%
Magenta59.1%
Yellow0.0%
Key (black)7.8%

Color previews

#cc60eb text on a black background

contrast 6.44:1

Card sample

#cc60eb text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc60eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc60eb in the Color Lab