Skip to content

#960eee

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

RGB
150, 14, 238
HSL
276°, 89%, 49%
CMYK
37, 94, 0, 7
Luminance
0.1297

Every format

HEX#960eee
RGBrgb(150, 14, 238)
HSLhsl(276, 89%, 49%)
CMYKcmyk(37%, 94%, 0%, 7%)
LABlab(42.7 80.2 -80.6)
LCHlch(42.7 113.8 314.9)
OKLCHoklch(0.544 0.278 304.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960eee on white: 5.84:1
AA ✓ pass · AA-large · AAA
Aa
#960eee on black: 3.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.5%
Blue93.3%

CMYK percentages

Cyan37.0%
Magenta94.1%
Yellow0.0%
Key (black)6.7%

Color previews

#960eee text on a black background

contrast 3.59:1

Card sample

#960eee text on a white background

contrast 5.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960eee in the Color Lab