Skip to content

#960df1

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

RGB
150, 13, 241
HSL
276°, 90%, 50%
CMYK
38, 95, 0, 6
Luminance
0.1312

Every format

HEX#960df1
RGBrgb(150, 13, 241)
HSLhsl(276, 90%, 50%)
CMYKcmyk(38%, 95%, 0%, 6%)
LABlab(43.0 81.0 -82.0)
LCHlch(43.0 115.2 314.6)
OKLCHoklch(0.546 0.281 303.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960df1 on white: 5.79:1
AA ✓ pass · AA-large · AAA
Aa
#960df1 on black: 3.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.1%
Blue94.5%

CMYK percentages

Cyan37.8%
Magenta94.6%
Yellow0.0%
Key (black)5.5%

Color previews

#960df1 text on a black background

contrast 3.62:1

Card sample

#960df1 text on a white background

contrast 5.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960df1 in the Color Lab