Skip to content

#c64bc9

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

RGB
198, 75, 201
HSL
299°, 54%, 54%
CMYK
2, 63, 0, 21
Luminance
0.2125

Every format

HEX#c64bc9
RGBrgb(198, 75, 201)
HSLhsl(299, 54%, 54%)
CMYKcmyk(2%, 63%, 0%, 21%)
LABlab(53.2 64.5 -42.2)
LCHlch(53.2 77.1 326.8)
OKLCHoklch(0.624 0.213 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c64bc9 on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#c64bc9 on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.6%
Green29.4%
Blue78.8%

CMYK percentages

Cyan1.5%
Magenta62.7%
Yellow0.0%
Key (black)21.2%

Color previews

#c64bc9 text on a black background

contrast 5.25:1

Card sample

#c64bc9 text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(198, 75, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 75, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c64bc9;
background: linear-gradient(135deg, #c64bc9, #C94B78);

Monochromatic scale

Palettes built from #c64bc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c64bc9 in the Color Lab