Skip to content

#c27bc9

a balanced, soft magenta / pink · warm · closest name: plum

RGB
194, 123, 201
HSL
295°, 42%, 64%
CMYK
4, 39, 0, 21
Luminance
0.2985

Every format

HEX#c27bc9
RGBrgb(194, 123, 201)
HSLhsl(295, 42%, 64%)
CMYKcmyk(4%, 39%, 0%, 21%)
LABlab(61.5 40.1 -29.3)
LCHlch(61.5 49.7 323.9)
OKLCHoklch(0.684 0.135 323.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c27bc9 on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#c27bc9 on black: 6.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green48.2%
Blue78.8%

CMYK percentages

Cyan3.5%
Magenta38.8%
Yellow0.0%
Key (black)21.2%

Color previews

#c27bc9 text on a black background

contrast 6.97:1

Card sample

#c27bc9 text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c27bc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c27bc9 in the Color Lab