Skip to content

#c945df

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

RGB
201, 69, 223
HSL
291°, 71%, 57%
CMYK
10, 69, 0, 13
Luminance
0.2200

Every format

HEX#c945df
RGBrgb(201, 69, 223)
HSLhsl(291, 71%, 57%)
CMYKcmyk(10%, 69%, 0%, 13%)
LABlab(54.0 71.4 -53.5)
LCHlch(54.0 89.2 323.2)
OKLCHoklch(0.635 0.240 321.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c945df on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#c945df on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green27.1%
Blue87.5%

CMYK percentages

Cyan9.9%
Magenta69.1%
Yellow0.0%
Key (black)12.5%

Color previews

#c945df text on a black background

contrast 5.40:1

Card sample

#c945df text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c945df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c945df in the Color Lab