Skip to content

#960dfd

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

RGB
150, 13, 253
HSL
274°, 98%, 52%
CMYK
41, 95, 0, 1
Luminance
0.1386

Every format

HEX#960dfd
RGBrgb(150, 13, 253)
HSLhsl(274, 98%, 52%)
CMYKcmyk(41%, 95%, 0%, 1%)
LABlab(44.0 83.3 -86.9)
LCHlch(44.0 120.4 313.8)
OKLCHoklch(0.557 0.291 301.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960dfd on white: 5.57:1
AA ✓ pass · AA-large · AAA
Aa
#960dfd on black: 3.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.1%
Blue99.2%

CMYK percentages

Cyan40.7%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#960dfd text on a black background

contrast 3.77:1

Card sample

#960dfd text on a white background

contrast 5.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960dfd in the Color Lab