Skip to content

#960df3

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

RGB
150, 13, 243
HSL
276°, 91%, 50%
CMYK
38, 95, 0, 5
Luminance
0.1324

Every format

HEX#960df3
RGBrgb(150, 13, 243)
HSLhsl(276, 91%, 50%)
CMYKcmyk(38%, 95%, 0%, 5%)
LABlab(43.1 81.3 -82.8)
LCHlch(43.1 116.1 314.5)
OKLCHoklch(0.548 0.283 303.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960df3 on white: 5.76:1
AA ✓ pass · AA-large · AAA
Aa
#960df3 on black: 3.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.1%
Blue95.3%

CMYK percentages

Cyan38.3%
Magenta94.7%
Yellow0.0%
Key (black)4.7%

Color previews

#960df3 text on a black background

contrast 3.65:1

Card sample

#960df3 text on a white background

contrast 5.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960df3 in the Color Lab