Skip to content

#960ce2

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

RGB
150, 12, 226
HSL
279°, 90%, 47%
CMYK
34, 95, 0, 11
Luminance
0.1224

Every format

HEX#960ce2
RGBrgb(150, 12, 226)
HSLhsl(279, 90%, 47%)
CMYKcmyk(34%, 95%, 0%, 11%)
LABlab(41.6 78.1 -75.7)
LCHlch(41.6 108.8 315.9)
OKLCHoklch(0.533 0.269 306.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960ce2 on white: 6.09:1
AA ✓ pass · AA-large · AAA
Aa
#960ce2 on black: 3.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green4.7%
Blue88.6%

CMYK percentages

Cyan33.6%
Magenta94.7%
Yellow0.0%
Key (black)11.4%

Color previews

#960ce2 text on a black background

contrast 3.45:1

Card sample

#960ce2 text on a white background

contrast 6.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(150, 12, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 12, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #960ce2;
background: linear-gradient(135deg, #960ce2, #E20C9F);

Monochromatic scale

Palettes built from #960ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960ce2 in the Color Lab