Skip to content

#960fdf

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

RGB
150, 15, 223
HSL
279°, 87%, 47%
CMYK
33, 93, 0, 13
Luminance
0.1215

Every format

HEX#960fdf
RGBrgb(150, 15, 223)
HSLhsl(279, 87%, 47%)
CMYKcmyk(33%, 93%, 0%, 13%)
LABlab(41.5 77.2 -74.2)
LCHlch(41.5 107.0 316.1)
OKLCHoklch(0.531 0.266 307.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960fdf on white: 6.12:1
AA ✓ pass · AA-large · AAA
Aa
#960fdf on black: 3.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.9%
Blue87.5%

CMYK percentages

Cyan32.7%
Magenta93.3%
Yellow0.0%
Key (black)12.5%

Color previews

#960fdf text on a black background

contrast 3.43:1

Card sample

#960fdf text on a white background

contrast 6.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960fdf in the Color Lab