Skip to content

#960bdf

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

RGB
150, 11, 223
HSL
279°, 91%, 46%
CMYK
33, 95, 0, 13
Luminance
0.1205

Every format

HEX#960bdf
RGBrgb(150, 11, 223)
HSLhsl(279, 91%, 46%)
CMYKcmyk(33%, 95%, 0%, 13%)
LABlab(41.3 77.7 -74.4)
LCHlch(41.3 107.6 316.2)
OKLCHoklch(0.530 0.267 307.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960bdf on white: 6.16:1
AA ✓ pass · AA-large · AAA
Aa
#960bdf on black: 3.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green4.3%
Blue87.5%

CMYK percentages

Cyan32.7%
Magenta95.1%
Yellow0.0%
Key (black)12.5%

Color previews

#960bdf text on a black background

contrast 3.41:1

Card sample

#960bdf text on a white background

contrast 6.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960bdf in the Color Lab