Skip to content

#960fac

a dark, electric magenta / pink · warm · closest name: purple

RGB
150, 15, 172
HSL
292°, 84%, 37%
CMYK
13, 91, 0, 33
Luminance
0.0980

Every format

HEX#960fac
RGBrgb(150, 15, 172)
HSLhsl(292, 84%, 37%)
CMYKcmyk(13%, 91%, 0%, 33%)
LABlab(37.5 67.8 -50.8)
LCHlch(37.5 84.7 323.1)
OKLCHoklch(0.492 0.227 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960fac on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#960fac on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.9%
Blue67.5%

CMYK percentages

Cyan12.8%
Magenta91.3%
Yellow0.0%
Key (black)32.5%

Color previews

#960fac text on a black background

contrast 2.96:1

Card sample

#960fac text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960fac in the Color Lab