Skip to content

#c32cfb

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

RGB
195, 44, 251
HSL
284°, 96%, 58%
CMYK
22, 83, 0, 2
Luminance
0.2037

Every format

HEX#c32cfb
RGBrgb(195, 44, 251)
HSLhsl(284, 96%, 58%)
CMYKcmyk(22%, 83%, 0%, 2%)
LABlab(52.3 83.0 -72.1)
LCHlch(52.3 110.0 319.0)
OKLCHoklch(0.626 0.284 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c32cfb on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#c32cfb on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green17.3%
Blue98.4%

CMYK percentages

Cyan22.3%
Magenta82.5%
Yellow0.0%
Key (black)1.6%

Color previews

#c32cfb text on a black background

contrast 5.07:1

Card sample

#c32cfb text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 44, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 44, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c32cfb;
background: linear-gradient(135deg, #c32cfb, #FB2CA9);

Monochromatic scale

Palettes built from #c32cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c32cfb in the Color Lab