Skip to content

#960cdf

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

RGB
150, 12, 223
HSL
279°, 90%, 46%
CMYK
33, 95, 0, 13
Luminance
0.1207

Every format

HEX#960cdf
RGBrgb(150, 12, 223)
HSLhsl(279, 90%, 46%)
CMYKcmyk(33%, 95%, 0%, 13%)
LABlab(41.3 77.5 -74.4)
LCHlch(41.3 107.5 316.2)
OKLCHoklch(0.531 0.267 307.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960cdf on white: 6.15:1
AA ✓ pass · AA-large · AAA
Aa
#960cdf on black: 3.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green4.7%
Blue87.5%

CMYK percentages

Cyan32.7%
Magenta94.6%
Yellow0.0%
Key (black)12.5%

Color previews

#960cdf text on a black background

contrast 3.41:1

Card sample

#960cdf text on a white background

contrast 6.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960cdf in the Color Lab