Skip to content

#960fd2

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

RGB
150, 15, 210
HSL
282°, 87%, 44%
CMYK
29, 93, 0, 18
Luminance
0.1148

Every format

HEX#960fd2
RGBrgb(150, 15, 210)
HSLhsl(282, 87%, 44%)
CMYKcmyk(29%, 93%, 0%, 18%)
LABlab(40.4 74.7 -68.5)
LCHlch(40.4 101.3 317.5)
OKLCHoklch(0.521 0.256 310.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960fd2 on white: 6.37:1
AA ✓ pass · AA-large · AAA
Aa
#960fd2 on black: 3.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.9%
Blue82.4%

CMYK percentages

Cyan28.6%
Magenta92.9%
Yellow0.0%
Key (black)17.6%

Color previews

#960fd2 text on a black background

contrast 3.30:1

Card sample

#960fd2 text on a white background

contrast 6.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960fd2 in the Color Lab