Skip to content

#cc55cc

a balanced, vivid magenta / pink · warm · closest name: orchid

RGB
204, 85, 204
HSL
300°, 54%, 57%
CMYK
0, 58, 0, 20
Luminance
0.2369

Every format

HEX#cc55cc
RGBrgb(204, 85, 204)
HSLhsl(300, 54%, 57%)
CMYKcmyk(0%, 58%, 0%, 20%)
LABlab(55.8 62.3 -39.9)
LCHlch(55.8 74.0 327.4)
OKLCHoklch(0.645 0.205 327.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc55cc on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#cc55cc on black: 5.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green33.3%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta58.3%
Yellow0.0%
Key (black)20.0%

Color previews

#cc55cc text on a black background

contrast 5.74:1

Card sample

#cc55cc text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc55cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc55cc in the Color Lab